diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-10 14:53:16 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-11-18 10:59:53 +0200 |
commit | 9f1dae944e2cf72800eb79b32e831b59fd6afdb0 (patch) | |
tree | 0dd10c5566d21e01f26ec32127f8c21c5ed46c13 /libavformat/allformats.c | |
parent | bf7723a6407b6dfced80b8e90fcbc52901389274 (diff) | |
download | ffmpeg-9f1dae944e2cf72800eb79b32e831b59fd6afdb0.tar.gz |
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>
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r-- | libavformat/allformats.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 00924c8a11..bee2f5f11f 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -242,6 +242,7 @@ void av_register_all(void) REGISTER_PROTOCOL (FILE, file); REGISTER_PROTOCOL (GOPHER, gopher); REGISTER_PROTOCOL (HTTP, http); + REGISTER_PROTOCOL (HTTPPROXY, httpproxy); REGISTER_PROTOCOL (HTTPS, https); REGISTER_PROTOCOL (MMSH, mmsh); REGISTER_PROTOCOL (MMST, mmst); |