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 ShaneHarvey
Recipients ShaneHarvey, llawall, malin, steve.dower
Date 2021-05-18.22:40:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621377614.6.0.571221768508.issue34932@roundup.psfhosted.org>
In-reply-to
Content
I opened a PR to add the socket.TCP_KEEPALIVE flag *on macOS only*. I don't see a reason to add it on Windows since as far as I can tell, TCP_KEEPALIVE is completely undocumented there. Besides there are already two ways to configure keepalive times on Windows (using sock.ioctl+SIO_KEEPALIVE_VALS and using sock.setsockopt+TCP_KEEPIDLE), I don't think we should add a third way.

See https://github.com/python/cpython/pull/25079
History
Date User Action Args
2021-05-18 22:40:14ShaneHarveysetrecipients: + ShaneHarvey, llawall, steve.dower, malin
2021-05-18 22:40:14ShaneHarveysetmessageid: <1621377614.6.0.571221768508.issue34932@roundup.psfhosted.org>
2021-05-18 22:40:14ShaneHarveylinkissue34932 messages
2021-05-18 22:40:14ShaneHarveycreate