Error when proxying websocket connection over unix socket

David.Neumann nginx-forum at nginx.us
Wed Mar 27 17:21:06 UTC 2013


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

David

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237839,237839#msg-237839



More information about the nginx mailing list