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.

Author vstinner
Recipients python-dev, vstinner
Date 2015-04-03.12:17:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428063445.34.0.12319550109.issue23853@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-04-03 12:17:25vstinnersetrecipients: + vstinner, python-dev
2015-04-03 12:17:25vstinnersetmessageid: <1428063445.34.0.12319550109.issue23853@psf.upfronthosting.co.za>
2015-04-03 12:17:25vstinnerlinkissue23853 messages
2015-04-03 12:17:25vstinnercreate