Error when proxying websocket connection over unix socket

Ruslan Ermilov ru at nginx.com
Wed Mar 27 17:49:43 UTC 2013


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
> in line 2436
> 
> This probably should not be done for unix sockets.

You're too late with your report:

https://trac.nginx.org/nginx/changeset/5143/nginx

:-)



More information about the nginx mailing list