http: Add a new protocol for opening connections via http proxies
authorMartin Storsjö <martin@martin.st>
Thu, 10 Nov 2011 12:53:16 +0000 (14:53 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 18 Nov 2011 08:59:53 +0000 (10:59 +0200)
commit9f1dae944e2cf72800eb79b32e831b59fd6afdb0
tree0dd10c5566d21e01f26ec32127f8c21c5ed46c13
parentbf7723a6407b6dfced80b8e90fcbc52901389274
http: Add a new protocol for opening connections via http proxies

This opens a plain TCP connection through the proxy via the
CONNECT HTTP method. Normally, this is allowed for connections
on port 443, but can in general be used to allow connections
to any port (depending on proxy configuration), and could thus
be used to tunnel any TCP connection via a HTTP proxy.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/allformats.c
libavformat/http.c
libavformat/version.h