mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
properly try to connect without proxy when connect-method http is forced
This commit is contained in:
parent
6c81f963b4
commit
5a7a566ec7
@ -139,6 +139,11 @@ class ClientRepository(DirectObject.DirectObject):
|
||||
# run out of servers).
|
||||
|
||||
ch = self.http.makeChannel(0)
|
||||
# Temporary try..except for old Pandas.
|
||||
try:
|
||||
ch.setAllowProxy(allowProxy)
|
||||
except:
|
||||
pass
|
||||
self.httpConnectCallback(ch, serverList, 0, hasProxy,
|
||||
successCallback, successArgs,
|
||||
failureCallback, failureArgs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user