httpd-2.0.46-7.ent strace of an httpd which reads a typemap produces this weird output: open("/var/www/error/HTTP_BAD_REQUEST.html.var", O_RDONLY) = 14 read(14, "Content-language: cs\nContent-typ"..., 4096) = 3967 read(14, "", 4096) = 0 read(14, "", 4096) = 0 read(14, "", 4096) = 0 read(14, "", 4096) = 0 read(14, "", 4096) = 0 read(14, "", 4096) = 0 read(14, "", 4096) = 0 read(14, "", 4096) = 0 read(14, "", 4096) = 0 read(14, "", 4096) = 0 read(14, "", 4096) = 0
This is probably caused by the apr_file_gets() implementation in APR 0.9.x; it should be fixed in APR 1.2.x.