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 /changes | |
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 'changes')
-rw-r--r-- | changes/bug_7234_add-http-request-timeout | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changes/bug_7234_add-http-request-timeout b/changes/bug_7234_add-http-request-timeout new file mode 100644 index 0000000..d18b28b --- /dev/null +++ b/changes/bug_7234_add-http-request-timeout @@ -0,0 +1 @@ + o Add http request timeout. Related to #7234. |