summaryrefslogtreecommitdiff
path: root/src/leap/__init__.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-07-08 19:15:56 -0300
committerRuben Pollan <meskio@sindominio.net>2015-07-22 10:04:22 -0400
commit34f6b07e08540fd9b2ec473d1e4e5a15be4feacc (patch)
tree63eb157e711eee447bbd96adb17f7139dbedc48a /src/leap/__init__.py
parent46870f1e26ef159bf6fe4744aba3b00a5e81cc3b (diff)
[bug] add http request timeout
The connectTimeout parameter of twisted.web.client.Agent only acts on the connection setup, and the Agent will wait forever for incoming data after the connection has been established. This commit adds a timeout for the connection, and will cancel the deferred if the result has not been received after a certain number of seconds.
Diffstat (limited to 'src/leap/__init__.py')
0 files changed, 0 insertions, 0 deletions