Closed straight-shoota closed 6 days ago
I found a workaround for the special case of an accept timeout: https://github.com/crystal-lang/crystal/commit/b919f3be9471ed8addc97d23c1628d5b80d11232
This is quite simple and only temporary. The handling of timeouts will change significantly in a follow-up.
Moves the
schedule_overlapped
overlapped method intoOverlappedOperation
and call it directly from the result methods, reducing the external API.@handle
becomes a property ofOverlappedOperation
which will be necessary for a follow-up refactor anyway.