mirror of
https://github.com/soheilhy/cmux.git
synced 2026-08-15 10:05:57 +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