]> Cypherpunks repositories - gostls13.git/commit
document Conn interface better, in preparation
authorRuss Cox <rsc@golang.org>
Sat, 7 Mar 2009 01:51:31 +0000 (17:51 -0800)
committerRuss Cox <rsc@golang.org>
Sat, 7 Mar 2009 01:51:31 +0000 (17:51 -0800)
commit1e37e8a417dc36bc6da6828cd7c20dd53d4ba6a9
treeaf8e99c7a527413c5d9bfd438924e3a26f123a62
parenta4a10ed856509b9e1f8f2a53b90696e428a51014
document Conn interface better, in preparation
for per-method interface documentation
by mkdoc.pl.

implement timeouts on network reads
and use them in dns client.

also added locks on i/o to ensure writes
are not interlaced.

R=r
DELTA=340  (272 added, 25 deleted, 43 changed)
OCL=25799
CL=25874
src/lib/net/dnsclient.go
src/lib/net/dnsconfig.go
src/lib/net/fd.go
src/lib/net/fd_darwin.go
src/lib/net/fd_linux.go
src/lib/net/net.go
src/lib/net/parse_test.go
src/lib/net/timeout_test.go [new file with mode: 0644]
src/lib/syscall/socket_darwin.go
src/lib/syscall/socket_linux.go