diff options
author | drebs <drebs@leap.se> | 2015-07-08 19:15:56 -0300 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2015-07-22 10:04:22 -0400 |
commit | 34f6b07e08540fd9b2ec473d1e4e5a15be4feacc (patch) | |
tree | 63eb157e711eee447bbd96adb17f7139dbedc48a /src/leap/common/config/baseconfig.py | |
parent | 46870f1e26ef159bf6fe4744aba3b00a5e81cc3b (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/common/config/baseconfig.py')
0 files changed, 0 insertions, 0 deletions