Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Re: body truncated on extra reads

Perrin Harkins

2008-04-22

Replies: Find Java Web Hosting

Author LoginPost Reply
On Tue, Apr 22, 2008 at 10:51 AM, John ORourke
<john-modperl@(protected):
> I'm curious - can anyone explain what actually happens internally if you
> try to read more from $r->read() than specified in the Content-Length
> header?

What used to happen is it would hang the process forever. Not sure if
it still does. Is there a reason you're not using Apache2::Request or
CGI.pm?

- Perrin
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.