Welcome! Log In Create A New Profile

Advanced

[PATCH] RFC: upgrade connection for proxied docker streams

Jean-Tiare LE BIGOT
November 15, 2014 11:26AM
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

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

[PATCH] RFC: upgrade connection for proxied docker streams

Jean-Tiare LE BIGOT 744 November 15, 2014 11:26AM

Re: [PATCH] RFC: upgrade connection for proxied docker streams

Maxim Dounin 397 November 16, 2014 06:40AM



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

Online Users

Guests: 309
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