This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: add HTTPConnection.settimeout()
Type: enhancement Stage:
Components: Library (Lib) Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: collinanderson, remi.lapeyre, xtreak
Priority: normal Keywords:

Created on 2018-08-26 20:05 by collinanderson, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 8947 open collinanderson, 2018-08-26 20:05
Messages (1)
msg328656 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2018-10-27 17:50
I think this is useful since it also sets conn.timeout so that both conn.sock.gettimeout() and conn.timeout return same value with this helper and don't cause confusion like using conn.socket.settimeout() that updates socket but not conn.timeout.
History
Date User Action Args
2022-04-11 14:59:05adminsetgithub: 78691
2018-11-10 01:33:33remi.lapeyresetnosy: + remi.lapeyre
2018-10-27 17:50:45xtreaksetnosy: + xtreak
messages: + msg328656
2018-08-26 21:03:05benjamin.petersonsettitle: Add add HTTPConnection.settimeout() -> add HTTPConnection.settimeout()
2018-08-26 20:05:27collinandersoncreate