Welcome! Log In Create A New Profile

Advanced

[PATCH 0 of 1] Upstream: add propagate_connection_close directive

Shawn J. Goff
January 02, 2015 07:08PM
This patch adds a new directive to the upstream module:
propagate_connection_close. It puts a "Connection: close" header in
the downstream response if the upstream server sent one. This is
useful when Nginx is used as HTTP/HTTPS endpoints with load blancers
in front of them. It allows the upstream server to close connections
in order to shed load.

I can submit a documentation patch if this patch is accepted.

In addition to being useful for us, I've found several examples of
people asking for this type of behavior in public forums.
https://github.com/openresty/headers-more-nginx-module/issues/22
http://stackoverflow.com/questions/5100971/nginx-and-proxy-pass-send-connection-close-headers
http://serverfault.com/questions/480171/is-it-possible-to-tell-nginx-over-fastcgi-to-pass-a-connection-close-header-thr

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 0 of 1] Upstream: add propagate_connection_close directive

Shawn J. Goff 752 January 02, 2015 07:08PM

[PATCH 1 of 1] Upstream: add propagate_connection_close directive

Shawn J. Goff 349 January 02, 2015 07:08PM

Re: [PATCH 0 of 1] Upstream: add propagate_connection_close directive

Maxim Dounin 324 January 04, 2015 10:48PM

Re: [PATCH 0 of 1] Upstream: add propagate_connection_close directive

Shawn J. Goff 387 January 05, 2015 08:48PM

Re: [PATCH 0 of 1] Upstream: add propagate_connection_close directive

Maxim Dounin 490 January 13, 2015 10:12AM

Re: [PATCH 0 of 1] Upstream: add propagate_connection_close directive

Shawn J. Goff 328 January 07, 2015 10:08PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 218
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready