mirror of
https://github.com/soheilhy/cmux.git
synced 2026-08-05 08:13:50 +08:00
Depending on the Go version used, reading from a closed pipe can return net.OpError or io.ErrClosedPipe. Simply check the string content of the error.
16 KiB
16 KiB