mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
Motivation: Darwin does sometimes hand us back an (as of the docs) illegal error code of EINVAL. So far, NIO has done the non-sensical thing of closing the server socket as a result. Modifications: Just close the accepted socket, leave the server socket open, and fire the error through the pipeline. Result: - fixes #1030 - better behaviour