- 28 Jan, 2013 1 commit
-
-
Mikio Hara authored
Both types IPv6 IPv4-mapped address and IPv4-compatible address are not allowed to be used in wire protocols. Fixes golang/go#4709. Thank you raptium for original CL 6922050. R=golang-dev, agl CC=golang-dev, raptium https://golang.org/cl/7220047
-
- 22 Jan, 2013 1 commit
-
-
Nigel Tao authored
Also expand the gen.go subset to cover the test cases from http://mxr.mozilla.org/mozilla-central/source/netwerk/test/unit/data/test_psl.txt R=dr.volker.dobler, patrick CC=golang-dev https://golang.org/cl/7124044
-
- 09 Jan, 2013 1 commit
-
-
Nigel Tao authored
add a publicsuffix.PublicSuffix function. This required moving the encoded node type bits from the nodes array to the children array. R=dr.volker.dobler, rsc CC=golang-dev, rsleevi https://golang.org/cl/7060046
-
- 22 Dec, 2012 1 commit
-
-
Nigel Tao authored
On the full list (running gen.go with -subset=false): Before, there were 6086 nodes (at 8 bytes per node) before. After, there were 6086 nodes (at 4 bytes per node) plus 354 children entries (at 4 bytes per node). The difference is 22928 bytes. In comparison, the (crushed) text is 21082 bytes, and for the curious, the longest label is 36 bytes: "xn--correios-e-telecomunicaes-ghc29a". All 32 bits in the nodes table are used, but there's wiggle room to accomodate future changes to effective_tld_names.dat: The largest children index is 353 (in 9 bits, so max is 511). The largest node type is 2 (in 2 bits, so max is 3). The largest text offset is 21080 (in 15 bits, so max is 32767). The largest text length is 36 (in 6 bits, so max is 63). benchmark old ns/op new ns/op delta BenchmarkPublicSuffix 19948 19744 -1.02% R=dr.volker.dobler CC=golang-dev https://golang.org/cl/6999045
-
- 21 Dec, 2012 1 commit
-
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/6996045
-
- 20 Dec, 2012 2 commits
-
-
Mikio Hara authored
Preserves both Read and Write signatures for the future usage. R=dave, rsc CC=golang-dev https://golang.org/cl/6970048
-
Nigel Tao authored
R=dr.volker.dobler CC=golang-dev https://golang.org/cl/6930054
-
- 13 Dec, 2012 1 commit
-
-
Nigel Tao authored
R=rsc, dr.volker.dobler, remyoudompheng, mikioh.mikioh CC=golang-dev https://golang.org/cl/6868090
-
- 12 Dec, 2012 1 commit
-
-
Nigel Tao authored
The tables were generated by: go run gen.go -subset -version "subset of publicsuffix.org's effective_tld_names.dat, hg revision 05b11a8d1ace (2012-11-09)" >table.go go run gen.go -subset -version "subset of publicsuffix.org's effective_tld_names.dat, hg revision 05b11a8d1ace (2012-11-09)" -test >table_test.go The input data is subsetted so that code review is easier while still covering the interesting * and ! rules. A follow-up changelist will check in the unfiltered public suffix list. Update golang/go#1960. R=rsc, dr.volker.dobler CC=golang-dev https://golang.org/cl/6912045
-
- 30 Nov, 2012 1 commit
-
-
Mikio Hara authored
The testing packege expects that Example functions in each package don't take any arguments. Will do so for the safety. R=iant, dave, minux.ma, adg CC=golang-dev https://golang.org/cl/6591076
-
- 17 Nov, 2012 1 commit
-
-
Mikio Hara authored
net.IP represents either an IPv4 or IPv6 address. In case of the address of IPv4 node, it uses IPv4-mapped IPv6 address format by default. R=agl, dave CC=golang-dev https://golang.org/cl/6782078
-
- 06 Nov, 2012 2 commits
-
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/6811084
-
Mikio Hara authored
R=dave CC=golang-dev https://golang.org/cl/6822083
-
- 30 Oct, 2012 1 commit
-
-
Jeff Hodges authored
Per 2.3.2 of draft-mbelshe-httpbis-spdy-00. R=mikioh.mikioh, bradfitz CC=adg, golang-dev https://golang.org/cl/6781053
-
- 29 Oct, 2012 1 commit
-
-
Jeff Hodges authored
R=mikioh.mikioh CC=golang-dev, rsc https://golang.org/cl/6786055
-
- 10 Oct, 2012 2 commits
-
-
Mikio Hara authored
R=dave CC=golang-dev https://golang.org/cl/6632058
-
Mikio Hara authored
R=golang-dev, dave, adg CC=golang-dev https://golang.org/cl/6636055
-
- 09 Oct, 2012 1 commit
-
-
Fumitoshi Ukai authored
Fixes golang/go#4157 R=golang-dev, rsc, mikioh.mikioh CC=golang-dev https://golang.org/cl/6571064
-
- 05 Oct, 2012 1 commit
-
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/6591077
-
- 29 Sep, 2012 1 commit
-
-
Mikio Hara authored
R=golang-dev, dchest CC=golang-dev https://golang.org/cl/6595043
-
- 28 Sep, 2012 2 commits
-
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/6565062
-
David Symonds authored
This is an example that isn't executed normally anyway because the function has arguments. Adding an underscore prefix makes it easier to exclude it from automated tools. R=adg, r, dave CC=golang-dev https://golang.org/cl/6570062
-
- 26 Sep, 2012 1 commit
-
-
Mikio Hara authored
Package ipv4 implements IP-level socket options for the Internet Protocol version 4. It also provides raw IP socket access methods including IPv4 header manipulation. Fixes golang/go#3684. Fixes golang/go#3820. This CL requires CL 6426047; net: add read, write message methods to IPConn, UDPConn R=rsc, dave, alex.brainman CC=gobot, golang-dev https://golang.org/cl/6482044
-
- 06 Sep, 2012 1 commit
-
-
Francisco Souza authored
Fix import path, and remove some unnecessary semicolons. R=golang-dev, dave, adg CC=golang-dev https://golang.org/cl/6506068
-
- 14 Aug, 2012 1 commit
-
-
Adam Langley authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6459055
-
- 07 Aug, 2012 1 commit
-
-
Adam Langley authored
This change copies exp/proxy to go.net without any code changes. A followup CL will remove exp/proxy. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6449097
-
- 30 Jul, 2012 1 commit
-
-
Francisco Souza authored
Small fix missed in CL 6446061. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6457047
-
- 29 Jul, 2012 1 commit
-
-
Shenghou Ma authored
Fixes golang/go#3880. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6446061
-
- 18 Jun, 2012 1 commit
-
-
Fumitoshi Ukai authored
Fixes golang/go#3727 R=golang-dev, adg CC=golang-dev https://golang.org/cl/6306080
-
- 16 Apr, 2012 1 commit
-
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/5996045
-
- 17 Mar, 2012 1 commit
-
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5849051
-
- 18 Feb, 2012 1 commit
-
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5672082
-
- 12 Feb, 2012 1 commit
-
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5649077
-
- 25 Jan, 2012 2 commits
-
-
Russ Cox authored
Manual edits to README. Moved from main Go repository, deleted Makefiles, ran gofix -r go1rename. Tested with: go test code.google.com/p/go.net/... R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5574065
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5572056
-