[Catalyst] Apache2::RequestIO::read: (70007) The timeout specified has expired

Andy Grundman andy at hybridized.org
Thu Mar 1 14:55:51 GMT 2007


On Mar 1, 2007, at 1:43 AM, Bill Moseley wrote:

> On Thu, Mar 01, 2007 at 01:02:46AM -0500, Andy Grundman wrote:
>> Hmm, a GET request should not ever call read() because there's no
>> body content to read.  It may happen if someone sends a bad GET
>> request with a Content-Length header and then never sends any data.
>> Have you ever been able to reproduce it?  You may need to enable Cat
>> debugging to get more info on the request.  Try reproducing by
>> crafting your own bad GET request.
>
> Yep, it's easy to reproduce using telnet and making a GET request and
> adding a Content-Length header.
>
> Should prepare_body() throw an error if a content-length header is
> found for GET requests?

I believe a body is allowed for GET requests, and this error would  
only show up if the client never sends the body.  I think the bug  
here is with the browser that's doing this, not with Catalyst.



More information about the Catalyst mailing list