[PATCH] Let modules override the Connection header in locally generated HTTP responses

Jan Janak jan at ryngle.com
Thu Oct 13 21:09:58 UTC 2011


The attached patch creates a new field in r->headers_out called
"connection". Modules could use this field to override the
automatically generated Connection header in locally generated HTTP
responses. This is needed to perform a HTTP connection upgrade, for
example, in a WebSocket handshake.

Please consider including this patch in one of future releases of
nginx. Thanks a lot!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Let-modules-override-the-Connection-header.patch
Type: text/x-patch
Size: 4586 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20111013/6403d8eb/attachment.bin>

More information about the nginx-devel mailing list