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.Pipe within my own struct that noops the deadline methods;
3. bother the Go developers to change net.Pipe to ignore deadlines.
Any advice?
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.