diff options
author | Russ Cox <rsc@golang.org> | 2010-04-26 22:15:25 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-04-26 22:15:25 -0700 |
commit | 47a05334117db4f1e9df6be8aeef9598d7a07124 (patch) | |
tree | 30f65329b476e4abb1423b9469ebd89828877287 /doc/codewalk/codewalk.js | |
parent | cd5191fd30373035176c0585453fa40d1443c2d2 (diff) | |
download | go-git-47a05334117db4f1e9df6be8aeef9598d7a07124.tar.gz |
net: introduce net.Error interface
Adds two more methods, Timeout and Temporary.
Implemented by os.Errno too. The intent is to make
the checks for os.EAGAIN a little less clunky.
It should also let us clean up a bug that Mike Solomon
pointed out: if a network server gets an "out of file descriptors"
error from Accept, the listener should not stop.
It will be able to check this because that error would
have Temporary() == true.
Also clean up some underscore names.
Fixes #442.
R=r
CC=golang-dev, msolo
https://golang.org/cl/957045
Diffstat (limited to 'doc/codewalk/codewalk.js')
0 files changed, 0 insertions, 0 deletions