mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
- This fixes Bootstrap's ChannelOptionStore.applyAll to return a future rather than synchronously iterating through all the options. - This is particular important because when a server accepts a child, if the child channel is on a different event loop then it is possible the synchronous calls may deadlock (if the child's eventloop happens to be scheduled with a similar accept sequence). - I did not tackle also making getOption() async, which means the Channel API is asymmetric at the moment. That should probably be addressed, potentialy with synchronous wrappers for API compatibility. - Fixes: <rdar://problem/37191923> [Omega] Worker tasks fail to close subtasks (many connections in CLOSE_WAIT state)