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

Fwd: client_max_body_size

2013-03-27 Thread Hagai Avrahami
Hi I am trying to resend (with small modification..) my request for help Many Thanks Hagai -- Hi Is there any way to deny all requests with body? I know I can set set client_max_body_size to 1 (byte) But..

ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

2013-03-27 Thread praveenkumar Muppala
Hi, We have a nginx1.0.5 version installed in our system. We are getting this error continuously in our nginx error log. ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz". I have increased this value to 20G, even 30G also still getting the same error. Can you help to fix this error