Do not assume that the full http response header is in the first
authorflorian <florian@openbsd.org>
Tue, 30 Aug 2016 10:54:42 +0000 (10:54 +0000)
committerflorian <florian@openbsd.org>
Tue, 30 Aug 2016 10:54:42 +0000 (10:54 +0000)
commite6c0e46b10b1ac06c178c4ee0b2e0bd058797eb4
treec92911c8b84583cf0165ff8f147aa82f09a1a69d
parent5c1561ad0ffc2632505fcd45031a87b1797b2d24
Do not assume that the full http response header is in the first
fastcgi stdout record. Keep processing stdout records until we found
the header / body separator and only then generate the header
response.
Problem reported by many.

OK jung@
usr.sbin/httpd/httpd.h
usr.sbin/httpd/server_fcgi.c