summaryrefslogtreecommitdiff
path: root/src/pkg/crypto
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-04-26 22:15:25 -0700
committerRuss Cox <rsc@golang.org>2010-04-26 22:15:25 -0700
commit0415bdc67536a8d8c51aa26f2cd9b9cdf2d3967b (patch)
tree94fb674d518e226f245ba078f44ace74057cd03b /src/pkg/crypto
parentc421356f6cd0b1ae24e49a697f4f135f11a0179a (diff)
downloadgolang-0415bdc67536a8d8c51aa26f2cd9b9cdf2d3967b.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 issue 442. R=r CC=golang-dev, msolo http://codereview.appspot.com/957045
Diffstat (limited to 'src/pkg/crypto')
0 files changed, 0 insertions, 0 deletions