Re: Error when proxying websocket connection over unix socket

2013-03-27 Thread Ruslan Ermilov
On Wed, Mar 27, 2013 at 01:21:06PM -0400, David.Neumann wrote: > Hello everybody, > > I found that if you try to proxy a websocket connection over a unix socket > you get an error. > This is due to the fact that nginx tries to set TCP_NODELAY for the unix > socket in > ngx_http_upstream_upgrade >

Error when proxying websocket connection over unix socket

2013-03-27 Thread David.Neumann
Hello everybody, I found that if you try to proxy a websocket connection over a unix socket you get an error. This is due to the fact that nginx tries to set TCP_NODELAY for the unix socket in ngx_http_upstream_upgrade in line 2436 This probably should not be done for unix sockets. Best Regards