eryksun added the comment:

The permission error comes from calling SetHandleInformation on an invalid 
socket value. The code shouldn't make it that far. The problem starts earlier 
in sock_accept_impl. This function checks whether SOCKET_T ctx->result is 
non-negative to determine whether the accept call succeeded, but SOCKET_T is 
unsigned on Windows.

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24732>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to