Make it so the proxy's _make_request method's error handler catches timeouts.
This commit is contained in:
commit
bc9ec20033
@ -507,8 +507,7 @@ class Controller(object):
|
||||
return resp.status, resp.reason, resp.read()
|
||||
elif resp.status == 507:
|
||||
self.error_limit(node)
|
||||
except Exception:
|
||||
self.error_limit(node)
|
||||
except (Exception, Timeout):
|
||||
self.exception_occurred(node, self.server_type,
|
||||
_('Trying to %(method)s %(path)s') %
|
||||
{'method': method, 'path': path})
|
||||
|
Loading…
x
Reference in New Issue
Block a user