Welcome! Log In Create A New Profile

Advanced

ngx_http_send_response is not sending big buffer

April 06, 2012 03:28AM
I am writing my own module.
I am getting error with function ngx_http_send_response it is not sending
complete buffer if buffer is big.

I have following code

ngx_http_complex_value_t cv;
ngx_int_t rc = ProcessNginxRequest(r, &cv);
ngx_http_finalize_request(r, NGX_HTTP_OK);
return rc;

Sudo Code for ProccessNginxRequest is like this
ngx_str_set(&cv->value,"A BIG STRING OF LENGTH 401481")

But response coming from the server is truncated.
How to fix this problem ?






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

ngx_http_send_response is not sending big buffer

goelviek2011@gmail.com 1996 April 06, 2012 03:28AM

Re: ngx_http_send_response is not sending big buffer

goelviek2011@gmail.com 773 April 06, 2012 03:28AM

Re: ngx_http_send_response is not sending big buffer

Maxim Dounin 1374 April 06, 2012 05:10AM



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

Online Users

Guests: 310
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