aboutsummaryrefslogtreecommitdiff
path: root/go.mod
AgeCommit message (Collapse)Author
2021-03-16PipeListenerDialer.Close should be called onceGrégoire Duchêne
PipeListenerDialer.Close will return unix.EINVAL if it is called more than once. This is to emulate the behavior of other standard listeners. Also: * PipeListenerDialer.Accept will return (nil, unix.EINVAL) if the listener is closed. This roughly matches with behavior described in accept(2). * PipeListenerDialer.Dial will also return (nil, unix.EINVAL) if the address passed does not match the one passed to New. It will also return (nil, unix.ECONNREFUSED) if the listener is closed. This roughly matches the behavior described in connect(2) and unix(7). * The custom errors ErrBadAddress and ErrClosed are removed.
2021-02-13First basic version that worksGrégoire Duchêne