summaryrefslogtreecommitdiff
path: root/src/pkg/net/net_test.go
AgeCommit message (Collapse)AuthorFilesLines
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-12/+11
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-0/+49
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-8/+8
2009-12-151) Change default gofmt default settings forRobert Griesemer1-14/+14
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-10net: fix error for connect to /etc/ on some systemsRuss Cox1-1/+1
R=agl1 CC=golang-dev http://codereview.appspot.com/152051
2009-11-10net: disable dns error testRuss Cox1-0/+7
some dns resolvers (opendns, for example) are willing to make up results for any name. R=agl, agl1 CC=golang-dev http://codereview.appspot.com/152049
2009-11-10net: fix dns bug reported on irc.Russ Cox1-1/+1
if suffixes don't work, check for name directly. also fixes short names like bit.ly when ndots>1. tested by tossing domain and search lines from /etc/resolv.conf Fixes issue 2. R=agl, agl1 CC=golang-dev http://codereview.appspot.com/152048
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-2/+2
R=rsc, r http://go/go-review/1025029
2009-11-04gofmt-ify netRobert Griesemer1-5/+5
R=rsc http://go/go-review/1017045
2009-11-04two more regexp tweaksRuss Cox1-2/+2
TBR=r http://go/go-review/1016037
2009-11-04allow "no such host" and also "no answer from server";Russ Cox1-1/+1
seems to help on snow leopard. TBR=r http://go/go-review/1018035
2009-10-03expand error regexp in dns testRuss Cox1-3/+3
R=r DELTA=3 (0 added, 0 deleted, 3 changed) OCL=35292 CL=35303
2009-09-17unused importsRuss Cox1-1/+0
R=r OCL=34731 CL=34731
2009-09-15more "declared and not used".Russ Cox1-1/+1
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-2/+1
to whole-package compilation. R=r OCL=33070 CL=33101
2009-08-05support []byte (more efficient) as well as string in the interfaces.Rob Pike1-1/+1
change the names; Match is for []byte and MatchString is for string, etc. R=rsc DELTA=195 (155 added, 0 deleted, 40 changed) OCL=32800 CL=32800
2009-07-05Remove assumption about google.com being the default search domain.David Symonds1-1/+1
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31151 CL=31168
2009-06-25Change os.Error convention:Russ Cox1-0/+72
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781