openresty / headers-more-nginx-module

Set, add, and clear arbitrary output headers in NGINX http servers
1.65k stars 221 forks source link

Set r->keepalive = 0 in ngx_http_set_connection_header #110

Closed kazeburo closed 11 months ago

kazeburo commented 4 years ago

HTTP keepalive was effective even with more_set_input_headers 'Connection: close';. r->keepalive = 0 may be required to close connection.