Alternate POST request to nginx failing

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

Posted at Nginx Forum:

Just a addition. I’m using Nginx Version 1.7.4.
Also strangely if I use unix/wget to make the same POST request the
issue
doesn’t appear.

Posted at Nginx Forum: