From dbc2424baa5aa4c72026d167f0678f2374620f44 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 10 Nov 2011 14:57:15 +0200 Subject: http: Don't use the normal http proxy mechanism for https MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ö --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/http.c') diff --git a/libavformat/http.c b/libavformat/http.c index 45253d4efd..63cfecd332 100644 --- 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; } -- cgit v1.2.3