Welcome! Log In Create A New Profile

Advanced

Alternate POST request to nginx failing

September 24, 2014 05:52AM
Hello

We are experiencing a strange issue with nginx. If I send multiple POST request to server one after the other, all the alternate POST request fails. I tried debugging the nginx code and found that on every POST request following functions are supposed to be called.

Caller function: ngx_epoll_process_events

handlers/functions to be called:
1> ngx_event_accept
2> ngx_http_wait_request_handler
3> ngx_http_request_handler

However when I make a post request, the first two handlers are invoked and request returns successfully. But the last handler is not invoked. On second request only "ngx_http_request_handler" is invoked and request returns without calling the "http module".

I'm yet to dig into further details of nginx code and understand it, but in case you have came through a similar scenario just please let me know of the problem and solution. That would save a lot of my time. Thank you

Regards
Himanshu
Subject Author Posted

Alternate POST request to nginx failing

hagarwal502 September 24, 2014 05:52AM

Re: Alternate POST request to nginx failing

hagarwal502 September 25, 2014 12:49AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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