>Synopsis: httpd randomly gives error 408
>Category: httpd
>Environment:
System : OpenBSD 6.2
Details : OpenBSD 6.2 (GENERIC) #132: Tue Oct 3 21:18:21 MDT 2017
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
httpd sometimes responds errordocument 408 on a random request
>How-To-Repeat:
This bug is common, not amd64 only, can be reproduced on armv7 as well. All you need to do is to
open index.html in the browser (tried with Internet Explorer, Firefox and Chrome) and keep pressing
F5 (refresh) many times. When you look at the access.log, you randomly see lines like this one:
OpenBSD teszt 192.168.0.19 - - [12/Jan/2018:16:59:16 +0100] "<UNKNOWN> " 408 0
httpd.conf:
default type text/html
prefork 2
server "OpenBSD teszt" {
listen on egress port 80
directory no auto index
}
types {
text/html html
}
>Fix:
check httpd source
Gábor Hidvégi