httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plüm, Rüdiger, VF-Group" <ruediger.pl...@vodafone.com>
Subject RE: Logging or not logging 408's
Date Mon, 28 Sep 2009 15:36:17 GMT
 

> -----Original Message-----
> From: Dan Poirier [mailto:poirier@pobox.com] 
> Sent: Montag, 28. September 2009 17:22
> To: dev@httpd.apache.org
> Subject: Logging or not logging 408's
> 
> Apache 1.3 logged a 408 in the access log if a connection was received
> but no request was received before the timeout.
> 
> Apache 2.x does not.  If a partial request is received, a 400 
> is logged,
> but if nothing is received, it silently closes the connection when it
> times out.

If nothing is received httpd won't even notice on some platforms due
to BSD accept filters or TCP_DEFER_ACCEPT on Linux. This means a 408 cannot
be logged here in general. But I admit that even on those systems there might
be cases where the socket was passed to httpd and no 400 is logged.
On this case it might make sense to adjust the logging behaviour accordingly.

Regards

Rüdiger


Mime
View raw message