Opportunistically try to parse "Status: $code" in the very first
authorflorian <florian@openbsd.org>
Thu, 7 Aug 2014 10:52:34 +0000 (10:52 +0000)
committerflorian <florian@openbsd.org>
Thu, 7 Aug 2014 10:52:34 +0000 (10:52 +0000)
commit27c77bda2d8d136d2f8ada30febc16327569ba54
tree2314ef6f9aaabd8183a70189fff00f776144ede5
parenta5841de4206cfd1655b2655a83066cad0016a2eb
Opportunistically try to parse "Status: $code" in the very first
response from the fcgi daemon and use that code as HTTP response
code. If it doesn't work out fall back to code 200.
This might fix naddy@'s issue with redirects in cvsweb.
To be revisited after unlock.
Discussed with & grudgingly OK reyk@
usr.sbin/httpd/server_fcgi.c