mirror of
https://github.com/soheilhy/cmux.git
synced 2026-08-09 05:58:56 +08:00
This commit closes the connections that has been buffered on the connection channel of the cmux listeners, when the root listener is closed. With this change it is guaranteed that the connections are either closed or handed of to the child listeners (returned via Accept()). There are a couple of changes to the tests to cover corner cases and the new behavior.
8.8 KiB
8.8 KiB