why "connection: close" header is added when the request is passed to upstream server?
tjlp at sina.com
tjlp at sina.com
Thu Jan 19 01:02:34 UTC 2017
Hi, Nginx guy,
I use Nginx in the Kubernetes. With the upstream server log, I find that the header "connection: close" is
added when the request is passed to upstream server. Why? What I hope is the original header relating to
connection status should be passed to upstream server without any
change. That means: if the original request header has no connection header, "connection" header should not be added.
The final expected behavior is: if no connection header in the request header, the session should be keep-alive, if there is "connection: close" header, the session should be terminated after the response is returned.
Thanks
Liu Peng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170119/03b8248c/attachment.html>
More information about the nginx
mailing list