properly try to connect without proxy when connect-method http is forced

This commit is contained in:
David Rose 2003-06-12 16:21:10 +00:00
parent 6c81f963b4
commit 5a7a566ec7

View File

@ -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)