Opened 7 years ago

#7818 defect new

Handle errno 10057 in t.i.iocpreactor.tcp.port.handleAccept

Reported by: Adi Roiban Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author:

Description

As we found out via this ticket #5356 _iocp.accept might return before having a connected socket.

This will cause setsockopt to fail with [Errno 10057] A request to send or receive

In #5356 sleeping a bit and retrying the setsockopt will solve the error.

This is either a error in Windows API or in the _iocp.accept binding.

First we need a functional test to see if we can replicate this error or the error only occur when exercising the low level code in a way which is never exercised by the real iocpreactor.tcp code.

Change History (0)

Note: See TracTickets for help on using tickets.