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 04, 2010 06:00PM
On Fri, Jun 4, 2010 at 11:56 PM, Srebrenko Šehić <ssehic@gmail.com> wrote:

> for (cl = ctx->in; cl; cl = cl->next) {
>    bsize = ngx_buf_size(cl->buf);
>    ngx_memcpy(p + offset, cl->buf->pos, bsize);
>    offset += bsize;
> }

That should be:

for (cl = in; cl; cl = cl->next) {
bsize = ngx_buf_size(cl->buf);
ngx_memcpy(p + offset, cl->buf->pos, bsize);
offset += bsize;
}

_______________________________________________
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ć 3338 June 04, 2010 05:58PM

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

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

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

Maxim Dounin 1105 June 06, 2010 04:58PM

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

Srebrenko Šehić 1010 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ć 1026 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: 234
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