Welcome! Log In Create A New Profile

Advanced

Re: ngx_http_read_client_request_body() causing random timeouts

Srebrenko Šehić
May 31, 2011 04:44AM
On Tue, May 31, 2011 at 10:28 AM, agentzh <agentzh@gmail.com> wrote:

>>    ctx = ngx_palloc(r->pool, sizeof(ngx_http_dummy_post_read_ctx_t));
>>
>
> I think you should have used ngx_pcalloc here instead of ngx_palloc so
> as to initialize the bytes properly ;) We're using ngx_pcalloc
> correctly here in ngx_form_input.

Wonderful catch! It solved my problem.

Thanks a bunch. Highly appreciated!

Cheers,
Srebrenko

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

ngx_http_read_client_request_body() causing random timeouts

Srebrenko Šehić 1946 May 31, 2011 04:10AM

Re: ngx_http_read_client_request_body() causing random timeouts

agentzh 702 May 31, 2011 04:30AM

Re: ngx_http_read_client_request_body() causing random timeouts

Srebrenko Šehić 794 May 31, 2011 04:44AM



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

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready