mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: In Darwin it is possible for readEOF to be received before writable, if we race connection teardown with registering for writable. See https://github.com/apple/swift-nio/issues/452 for a more in-depth explanation. Modifications: Widened the assertion. Result: People's code won't go bang.