Welcome! Log In Create A New Profile

Advanced

why "connection: close" header is added when the request is passed to upstream server?

Anonymous User
January 18, 2017 08:04PM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

why "connection: close" header is added when the request is passed to upstream server?

Anonymous User January 18, 2017 08:04PM

Re: why "connection: close" header is added when the request is passed to upstream server?

Maxim Dounin January 19, 2017 08:34AM

回复:Re: why "connection: close" header is added when the request is passed to upstream server?

Anonymous User January 19, 2017 08:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready