mirror of
https://github.com/python/cpython.git
synced 2026-05-07 05:01:13 -04:00
8fef834f05
Follow-up of gh-107219.
* Only close the connection writer on Windows.
* Also use existing constant _winapi.ERROR_OPERATION_ABORTED instead of
WSA_OPERATION_ABORTED.
(cherry picked from commit 0b4e090422)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>