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…
Reference in New Issue