vibe-d / eventcore

High performance proactor event loop abstraction library
MIT License
60 stars 42 forks source link

WinAPIEventDriverSockets.cancelRead closes connection #225

Open s-ludwig opened 10 months ago

s-ludwig commented 10 months ago

Calling CancelIoEx appears to not only cancel the pending read operation, but also sets the connection to a read-closed state. Currently it's not quite clear what the correct approach here is.

Since all Windows versions prior to 10 are not out of service, maybe switching to RIO is a good idea to sidestep this issue (#13).