From 81735f8dee77718817ee272d3fee4849efa798b9 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 8 Oct 2007 18:00:03 +0000 Subject: [PATCH] a redirect might change the proxy requirements --- panda/src/downloader/httpChannel.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/downloader/httpChannel.cxx b/panda/src/downloader/httpChannel.cxx index 850b12d9cd..ab9907bb09 100644 --- a/panda/src/downloader/httpChannel.cxx +++ b/panda/src/downloader/httpChannel.cxx @@ -1876,6 +1876,7 @@ run_reading_header() { reset_url(_request.get_url(), new_url); _request.set_url(new_url); _want_ssl = _request.get_url().is_ssl(); + reconsider_proxy(); make_header(); make_request_text(); @@ -2344,7 +2345,7 @@ void HTTPChannel:: reconsider_proxy() { _proxy_tunnel_now = false; _proxy_serves_document = false; - + if (!_proxy.empty()) { // If the user insists we always tunnel through a proxy, or if // we're opening an SSL connection, or the user has explicitly