upstream keepalive - call for testing

Matthieu Tourne matthieu.tourne at gmail.com
Wed Sep 7 23:33:38 UTC 2011


Thanks for the all-included patch from 1.1.2

It seems that keepalive connections aren't working in combination with
proxy_buffering off; (c->read->ready is set to 1)
It worked before this last update, is this the intended behavior ?

Thank you,

Matthieu.

On Mon, Sep 5, 2011 at 11:02 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> Hello!
>
> On Mon, Sep 05, 2011 at 11:42:31PM +0800, $B%S%j%S%j-9(B wrote:
>
> > (gdb) fr 0
> > #0  ngx_http_upstream_handler (ev=0x7fc45735f8a8)
> >     at src/http/ngx_http_upstream.c:915
> > 915    ctx->current_request = r;
> > (gdb) p ngx_cycle->log
> > $1 = (ngx_log_t *) 0x21f19a8
> > (gdb) p *r
> > $2 = {signature = 51686928, connection = 0x23b4160, ctx = 0x0,
>
> [...]
>
> This looks like memory corruption, but unfortunately I don't see
> any traces of the real cause.  My best quess is improper handling
> of proxy_ignore_client_abort as fixed in 1.1.2.  Please try 1.1.2
> with patches from
>
> http://nginx.org/patches/patch-nginx-keepalive-full-5.txt
>
> It already includes upstream keepalive module, as well as all
> other upstream-keepalive related fixes.  See here for details:
>
> http://mailman.nginx.org/pipermail/nginx-devel/2011-September/001147.html
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20110907/8b74bb67/attachment.html>


More information about the nginx mailing list