mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Embedded channels should set local and remote address always ### Motivation: Currently, if connect or bind are called without a promise, the remote/local address does not get set because those were getting set in the whenSuccess of the promise. ### Modifications: If the user didn't provide a promise, create one ourselves, so we have something to listen for. ### Result: Calling connect/bind will always result in remote/local address getting set, regardless of whether you pass a promise