Welcome! Log In Create A New Profile

Advanced

Re: Output body buffer chain "flattening" doesn't work unless proxy buffering is off

Srebrenko Šehić
June 07, 2010 05:00PM
On Mon, Jun 7, 2010 at 10:41 PM, Srebrenko Šehić <ssehic@gmail.com> wrote:

>> b->pos = b->last;
>
> I guess that should be done after the call to
> ngx_http_next_body_filter(r, in). I tried that, but it did not make
> any difference. It still "hangs" for payloads larger than 32KB.

I managed to figure it out myself. I set the b->pos = b->end during my
"traverse the chain and copy all buffers into one" for each buffer
that I copy. I just assumed that "old buffers" will be thrown away by
nginx as soon as I changed the input chain to the new buffer leaving
the old buffer dangling.

Anyways, thanks for the pointer Maxim. Highly appreciated.

Best regards,
Srebrenko

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Output body buffer chain "flattening" doesn't work unless proxy buffering is off

Srebrenko Šehić 3339 June 04, 2010 05:58PM

Re: Output body buffer chain "flattening" doesn't work unless proxy buffering is off

Srebrenko Šehić 1184 June 04, 2010 06:00PM

Re: Output body buffer chain "flattening" doesn't work unless proxy buffering is off

Maxim Dounin 1106 June 06, 2010 04:58PM

Re: Output body buffer chain "flattening" doesn't work unless proxy buffering is off

Srebrenko Šehić 1011 June 07, 2010 01:30AM

Re: Output body buffer chain "flattening" doesn't work unless proxy buffering is off

Maxim Dounin 1079 June 07, 2010 03:10AM

Re: Output body buffer chain "flattening" doesn't work unless proxy buffering is off

Srebrenko Šehić 1027 June 07, 2010 04:44PM

Re: Output body buffer chain "flattening" doesn't work unless proxy buffering is off

Srebrenko Šehić 957 June 07, 2010 05:00PM

Re: Output body buffer chain "flattening" doesn't work unless proxy buffering is off

Maxim Dounin 1426 June 07, 2010 06:32PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready