summaryrefslogtreecommitdiff
path: root/src/pkg/net/dnsconfig.go
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+119
2011-09-13Imported Upstream version 60Ondřej Surý1-119/+0
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-1/+0
2010-04-26net: introduce net.Error interfaceRuss Cox1-5/+17
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
2010-03-03net: put [ ] around IPv6 addresses for DialRuss Cox1-1/+5
Update issue 538. R=r CC=golang-dev http://codereview.appspot.com/229045
2010-03-03net: correct DNS configurationStephen Ma1-2/+2
Set defaults to the same values as various C DNS resolver libraries. Use the timeout value from the configuration. Fixes issue 632. R=rsc CC=golang-dev http://codereview.appspot.com/223094
2009-12-151) Change default gofmt default settings forRobert Griesemer1-37/+37
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180048
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-8/+8
R=rsc, r http://go/go-review/1025029
2009-11-04gofmt-ify netRobert Griesemer1-17/+16
R=rsc http://go/go-review/1017045
2009-09-17unused importsRuss Cox1-5/+1
R=r OCL=34731 CL=34731
2009-09-15more "declared and not used".Russ Cox1-3/+3
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-1/+0
to whole-package compilation. R=r OCL=33070 CL=33101
2009-07-01clean up some BUG/TODO in go codeRuss Cox1-4/+1
R=r DELTA=23 (1 added, 12 deleted, 10 changed) OCL=30957 CL=30980
2009-06-09mv src/lib to src/pkgRob Pike1-0/+113
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102