[PATCH] RFC: upgrade connection for proxied docker streams
Jean-Tiare LE BIGOT
admin at jtlebi.fr
Sat Nov 15 16:25:36 UTC 2014
Hi,
This patch adds support for proxying Docker's "hijacked" HTTP
connections. It shares most logic with websocket's "upgrade" mechanism.
Basically, it detects the 'application/vnd.docker.raw-stream"
Content-Type header and marks the connection for upgrade in this case.
I also hit a strange behavior with the chunked transfer terminating
sequence "0\r\n\r\n" being sent even on this upgraded connection hence
the "u->headers_in.chunked = 0;" in "ngx_http_upstream_upgrade".
Feedback appreciated.
Regards,
PS: I failed to register to this mailing list with jt AT yadutaf DOT fr,
any idea why ?
--
Jean-Tiare
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx.patch
Type: text/x-patch
Size: 2752 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20141115/e91feaca/attachment.bin>
More information about the nginx-devel
mailing list