support for proxy_http_version automatically detect

Chuanwen Chen chencw1982 at
Thu Jan 7 05:16:55 UTC 2016

In our case, we needed to set proxy_http_version to 1.0 or 1.1 according to
client, because the clients for http 1.0 could not proceed chunked encoding
gzip through keep-alive connections correctly, but 'proxy_http_version'
didn't help.

Finally we had this patch, and a simple test case for it, and I checked it
under nginx-1.9.7.

Wish it helps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 3229 bytes
Desc: not available
URL: <>

More information about the nginx-devel mailing list