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

Bill Moseley moseley at hank.org
Thu Mar 1 06:43:03 GMT 2007


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?


-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list