projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2565dbe
)
http: Don't use the normal http proxy mechanism for https
author
Martin Storsjö
<martin@martin.st>
Thu, 10 Nov 2011 12:57:15 +0000
(14:57 +0200)
committer
Martin Storsjö
<martin@martin.st>
Fri, 18 Nov 2011 08:59:53 +0000
(10:59 +0200)
The tls protocol handles connections via proxies internally.
With TLS/SSL, the peer verification requires that the client
speaks directly with the server, since the proxy doesn't have
the remote server's private key.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/http.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/http.c
b/libavformat/http.c
index
45253d4
..
63cfecd
100644
(file)
--- a/
libavformat/http.c
+++ b/
libavformat/http.c
@@
-112,6
+112,7
@@
static int http_open_cnx(URLContext *h)
if (!strcmp(proto, "https")) {
lower_proto = "tls";
+ use_proxy = 0;
if (port < 0)
port = 443;
}