[PATCH] RFC: upgrade connection for proxied docker streams

Maxim Dounin mdounin at mdounin.ru
Sun Nov 16 11:38:35 UTC 2014


On Sat, Nov 15, 2014 at 05:25:36PM +0100, Jean-Tiare LE BIGOT wrote:

> 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.

This looks like a dirty hack for me.  It may be a better idea to 
focus on fixing Docker to use HTTP properly.


Maxim Dounin

More information about the nginx-devel mailing list