httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] LimitRequestBody not dropping connections
Date Sat, 09 Jan 2010 23:53:41 GMT
Alex Drummond wrote:

> POST /webappdir/ HTTP/1.0
> Content-Length: 3000000000
> 
> Apache sends a 413 and closes the connection as soon as I enter the
> line break after the headers. I've checked that Firefox is sending an
> appropriate Content-Length header, so the difference in browser/telnet
> behavior should not be down to this.

Firefox probably asked for a keepalive connection.  Your telnet didn't.

Is your backend script being passed the oversized request, or is it
just an issue of keeping the connection alive?  Could it be that
you're getting an immediate response, but Firefox isn't telling
you immediately?

(yes, it smells of a buglet, but we should try to diagnose as
much as we can before jumping to conclusions).

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message