Re: proxy_pass defaulting to http 1.0

2013-06-15 Thread Maxim Dounin
Hello! On Fri, Jun 14, 2013 at 04:54:26PM +0200, Tu Tr wrote: > Since proxy_pass by default uses HTTP 1.0 shouldn't it also clear the > Connection header by default? By default, nginx uses "Connection: close" in upstream requests for maximum compatibility with various backend servers. > This c

proxy_pass defaulting to http 1.0

2013-06-14 Thread Tu Tr
Since proxy_pass by default uses HTTP 1.0 shouldn't it also clear the Connection header by default? This causes major problems for the unsuspecting reverse proxy that encounters a .NET system.net.WebClient request. WebClient automatically sends Connection: keep-alive even for a HTTP 1.1 request. S