Message239982
Here is a patch to fix the issue: recompute the timeout.
It's unclear to me if we should reset the timeout after each successful read/write, or if the timeout is "global" (total duration of the ssl method). I asked the question on the python-dev mailing list.
https://mail.python.org/pipermail/python-dev/2015-April/139001.html
My patch uses a global timeout (never reset the timeout), whereas socket.sendall() resets the timeout at each send() success. |
|
Date |
User |
Action |
Args |
2015-04-03 12:17:25 | vstinner | set | recipients:
+ vstinner, python-dev |
2015-04-03 12:17:25 | vstinner | set | messageid: <1428063445.34.0.12319550109.issue23853@psf.upfronthosting.co.za> |
2015-04-03 12:17:25 | vstinner | link | issue23853 messages |
2015-04-03 12:17:25 | vstinner | create | |
|