- 16 Jun, 2013 1 commit
-
-
Mikio Hara authored
Current result on darwin/amd64: BenchmarkReadWriteNetUDP-2 100000 16112 ns/op 330 B/op 6 allocs/op BenchmarkReadWriteIPv4UDP-2 200000 14337 ns/op 654 B/op 14 allocs/op Update golang/go#3684 R=dave CC=golang-dev https://golang.org/cl/10125044
-
- 15 Jun, 2013 3 commits
-
-
Mikio Hara authored
Update golang/go#5538 R=dave CC=golang-dev https://golang.org/cl/9834046
-
Mikio Hara authored
Update golang/go#5538 R=dave CC=golang-dev https://golang.org/cl/10044047
-
Mikio Hara authored
Update golang/go#5538 R=dave, r CC=golang-dev https://golang.org/cl/10089046
-
- 09 Jun, 2013 1 commit
-
-
Adam Langley authored
The code was using the SOCKS version number (5) where it should have been using the username/password protocol version number (1). With this change, username/password authentication actually works. R=golang-dev CC=golang-dev https://golang.org/cl/10134044
-
- 07 Jun, 2013 1 commit
-
-
Mikio Hara authored
This CL removes DiffServ and ECN constants assigned by IANA because for now we don't have an appropriate package to put those constants as part of API. There were used for the type-of-service field of IPv4 header and the traffic class field of IPv6 header. Also adds ICMPType for convenience, makes use of internal IANA protocol number constants instead of syscall's to prevent churning of package syscall in the near future. R=dave CC=golang-dev https://golang.org/cl/9353045
-
- 06 Jun, 2013 1 commit
-
-
Mikio Hara authored
R=dave, capnm9 CC=golang-dev https://golang.org/cl/10051046
-
- 05 Jun, 2013 3 commits
-
-
Mikio Hara authored
R=dave CC=golang-dev https://golang.org/cl/9961046
-
Mikio Hara authored
This package doesn't have RawConn type. R=dave CC=golang-dev https://golang.org/cl/10042043
-
Mikio Hara authored
R=dave CC=golang-dev https://golang.org/cl/10019048
-
- 04 Jun, 2013 1 commit
-
-
Mikio Hara authored
Package ipv6 implements IP-level socket options for the Internet Protocol version 6. It also provides datagram based network I/O methods specific to the IPv6 and higher layer protocols. Fixes golang/go#5538. R=dave CC=golang-dev https://golang.org/cl/9843044
-
- 30 May, 2013 1 commit
-
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/9827043
-
- 20 May, 2013 1 commit
-
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/9582043
-
- 14 May, 2013 2 commits
-
-
Fumitoshi Ukai authored
If client sent no subprotocol (e.g. no Sec-WebSocket-Protocol), websocket server responded with the following header HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: E7SRWRnZL9RuGFLuZ0j4508nqdg= Sec-WebSocket-Protocol: So, client may close the connection because it contains wrong empty Sec-WebSocket-Protocol header. If client didn't offer any subprotocol, don't set config.Protocol, so that not emit empty Sec-WebSocket-Protocol. Fixes golang/go#5457. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/9379044
-
Volker Dobler authored
Update the public suffix list to the latest (April 23. 2013) data of publicsuffix.org's list. R=nigeltao CC=golang-dev https://golang.org/cl/9346048
-
- 12 May, 2013 1 commit
-
-
Fumitoshi Ukai authored
Add websocket.Server to configure WebSocket server handler. - Config.Header is additional headers to send, so you can use it to send cookies or so. To read cookies, you can use Conn.Request().Header. - factor out Handshake. You can set func to check origin, subprotocol etc. Handler checks origin by default. Fixes golang/go#4198. Fixes golang/go#5178. R=golang-dev, mikioh.mikioh, crobin CC=golang-dev https://golang.org/cl/8731044
-
- 17 Apr, 2013 1 commit
-
-
Shenghou Ma authored
From Jens.Alfke@gmail.com. Fixes golang/go#5269. R=golang-dev, r CC=golang-dev https://golang.org/cl/8748050
-
- 15 Apr, 2013 1 commit
-
-
Fumitoshi Ukai authored
Fixes golang/go#5222 R=golang-dev, mikioh.mikioh, minux.ma, r CC=golang-dev https://golang.org/cl/8651044
-
- 04 Apr, 2013 1 commit
-
-
Mikio Hara authored
R=bradfitz, dave CC=bradfitz, gobot, golang-dev, rsc https://golang.org/cl/7194047
-
- 01 Mar, 2013 2 commits
-
-
Nigel Tao authored
R=adg CC=golang-dev https://golang.org/cl/7435048
-
Nigel Tao authored
effective_tld_names.dat, hg revision 3af9909a49e4 (2013-02-15). R=dr.volker.dobler CC=golang-dev https://golang.org/cl/7416044
-
- 28 Feb, 2013 1 commit
-
-
Shenghou Ma authored
So that Go 1.0 user could also use this package. Fixes golang/go#4931. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7424044
-
- 18 Feb, 2013 1 commit
-
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7355043
-
- 16 Feb, 2013 1 commit
-
-
Mikio Hara authored
Also improves test coverage for both payload and datagram I/O. R=golang-dev, dave CC=golang-dev https://golang.org/cl/7304091
-
- 13 Feb, 2013 1 commit
-
-
Mikio Hara authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7300102
-
- 11 Feb, 2013 1 commit
-
-
Nigel Tao authored
sub-repo. It's a straight copy, except for these modifications: * "exp/html" and "exp/html/atom" imports were renamed, and * the "TODO... When this package moves out of exp" comment was deleted from atom/atom.go. The matching change is at https://golang.org/cl/7317043 The rationale was discussed at https://groups.google.com/d/topic/golang-nuts/Qq5hTQyPuLg/discussion R=adg, remyoudompheng, dave CC=golang-dev https://golang.org/cl/7310063
-
- 10 Feb, 2013 1 commit
-
-
Mikio Hara authored
R=golang-dev, dave, agl CC=golang-dev https://golang.org/cl/7314047
-
- 06 Feb, 2013 3 commits
-
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/7299056
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/7301052
-
Yusuke Kagiwada authored
Update to SPDY/3 http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3 R=adg, mikioh.mikioh, minux.ma, bradfitz, remyoudompheng CC=golang-dev https://golang.org/cl/7092050
-
- 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
-