reyk / httpd

OpenBSD httpd
Other
314 stars 31 forks source link

Support for Content-Length in FastCGI responses #48

Open brendonm opened 9 years ago

brendonm commented 9 years ago

httpd/server_fcgi.c: Line 590 Comment asks whether Content-Length should be handled correctly, rather than stripped from the response in favour of chunked encoding. This Content-Length header is often needed by the application, and can be useful for output to httpd's access.log (which will otherwise show length=0).