How to disable request pipelining on nginx upstream
B.R.
reallfqq-nginx at yahoo.fr
Fri Sep 16 07:23:20 UTC 2016
On Thu, Sep 15, 2016 at 11:12 PM, hkahlouche <nginx-forum at forum.nginx.org>
wrote:
> Can you please confirm, if no new request is sent to the upstream before
> the
> entire response is received for the ongoing request (ongoing request
> finished)?
> In other words, is possible that upstream module sends the next request to
> upstream server while there is still response bytes being received from
> upstream on a current request?
>
AFAIK, 2 different requests are served separately, meaning you can have
some requests sent when some other is being responded to.
If you talk about the same request, then it is only sent to the next
upstream server when there is an 'unsuccessful attempt' at communicating
with the current upstream server. What defines this is told by the
*_next_upstream directives of the pertinent modules (for example
proxy_next_upstream
<http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream>
).
That means that, by nature, there is no response coming back when the
request is tried on the next server.
---
*B. R.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160916/56a73921/attachment.html>
More information about the nginx
mailing list