Which version of Go are you using?
https://github.com/golang/go/blob/master/src/net/pipe.go#L224
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsu
In net/pipe.go, there's this code:
func (p *pipe) SetReadDeadline(t time.Time) error {
return &OpError{...}
}
This breaks my code, which uses timeouts and dutifully checks for
errors.
I guess I have three solutions:
1. remove the error checking in my code;
2. wrap net.Pi