Welcome! Log In Create A New Profile


NGX_AGAIN Handling in upload module

May 17, 2018 02:35AM
I am facing an issue with NGX_AGAIN.
ngx upload module is returning NGX_AGAIN while uploading a file. when nginx calls again upload module but upload module returns NGX_OK if requestbody exist
if( r->requestbody) return NGX_OK and its continue in a loop.

any solution to this?

if (!c->read->ready) {
clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
ngx_add_timer(c->read, clcf->client_body_timeout);

if (ngx_handle_read_event(c->read, 0) != NGX_OK) {

return NGX_AGAIN;
Subject Author Posted

NGX_AGAIN Handling in upload module

rambabuy May 17, 2018 02:35AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

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