mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
a redirect might change the proxy requirements
This commit is contained in:
parent
40314b8e1b
commit
81735f8dee
@ -1876,6 +1876,7 @@ run_reading_header() {
|
|||||||
reset_url(_request.get_url(), new_url);
|
reset_url(_request.get_url(), new_url);
|
||||||
_request.set_url(new_url);
|
_request.set_url(new_url);
|
||||||
_want_ssl = _request.get_url().is_ssl();
|
_want_ssl = _request.get_url().is_ssl();
|
||||||
|
reconsider_proxy();
|
||||||
make_header();
|
make_header();
|
||||||
make_request_text();
|
make_request_text();
|
||||||
|
|
||||||
@ -2344,7 +2345,7 @@ void HTTPChannel::
|
|||||||
reconsider_proxy() {
|
reconsider_proxy() {
|
||||||
_proxy_tunnel_now = false;
|
_proxy_tunnel_now = false;
|
||||||
_proxy_serves_document = false;
|
_proxy_serves_document = false;
|
||||||
|
|
||||||
if (!_proxy.empty()) {
|
if (!_proxy.empty()) {
|
||||||
// If the user insists we always tunnel through a proxy, or if
|
// If the user insists we always tunnel through a proxy, or if
|
||||||
// we're opening an SSL connection, or the user has explicitly
|
// we're opening an SSL connection, or the user has explicitly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user