Client closed keepalive connection

Igor Sysoev is at
Fri Apr 27 21:53:17 MSD 2007

On Fri, Apr 27, 2007 at 01:39:40PM -0400, Wilson Bilkovich wrote:

> I am having some difficulty with nginx as a load balancer on MacOS X 
> (Intel).
> I am running 0.5.19, but the problem occurs with recent earlier
> versions as well.
> With "use kqueue"
> 2007/04/26 22:26:15 [info] 4133#0: *3048 kevent() reported that client
> closed keepalive connection
> With "use poll"
> 2007/04/26 22:59:48 [info] 10189#0: *375 client closed
> keepalive connection
> On the client side, I get a "Socket closed." error.  My HTTP client is
> not configured to use keepalive, which makes the error message seem
> very strange.
> The only 'weird' thing I am doing is sending a '100 Continue' response
> from the back-end server.
> Does nginx have different behavior when I send back a 100?

Does the client do POST and pass "Expect: continue" ?
nginx does not support "Expect: continue/100 Continue" dialog because
current browsers still do not support it (at least I never see).

So the client askes "Expect: continue", nginx passes the request
to backend, the backend responses "100 Continue". nginx sends it
to the client and goes to keep-alive state.

Igor Sysoev

More information about the nginx mailing list