1. 15 Jun, 2013 3 commits
  2. 09 Jun, 2013 1 commit
  3. 07 Jun, 2013 1 commit
    • Mikio Hara's avatar
      go.net/ipv4: drop DIffServ and ECN constants, add ICMPType · 8108b4b3
      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
      8108b4b3
  4. 06 Jun, 2013 1 commit
  5. 05 Jun, 2013 3 commits
  6. 04 Jun, 2013 1 commit
    • Mikio Hara's avatar
      go.net/ipv6: new package · cdfc4ce1
      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
      cdfc4ce1
  7. 30 May, 2013 1 commit
  8. 20 May, 2013 1 commit
  9. 14 May, 2013 2 commits
    • Fumitoshi Ukai's avatar
      go.net/websocket: fix handshake error. · 4c1c96f7
      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
      4c1c96f7
    • Volker Dobler's avatar
      publicsuffix: update table to latest list from publicsuffix.org · e4c0e9ee
      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
      e4c0e9ee
  10. 12 May, 2013 1 commit
    • Fumitoshi Ukai's avatar
      go.net/websocket: allow server configurable · 0005f0a0
      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
      0005f0a0
  11. 17 Apr, 2013 1 commit
  12. 15 Apr, 2013 1 commit
  13. 04 Apr, 2013 1 commit
  14. 01 Mar, 2013 2 commits
  15. 28 Feb, 2013 1 commit
  16. 18 Feb, 2013 1 commit
  17. 16 Feb, 2013 1 commit
  18. 13 Feb, 2013 1 commit
  19. 11 Feb, 2013 1 commit
  20. 10 Feb, 2013 1 commit
  21. 06 Feb, 2013 3 commits
  22. 28 Jan, 2013 1 commit
  23. 22 Jan, 2013 1 commit
  24. 09 Jan, 2013 1 commit
  25. 22 Dec, 2012 1 commit
    • Nigel Tao's avatar
      go.net/publicsuffix: tighten the encoding from 8 bytes per node to 4. · 0f34b776
      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
      0f34b776
  26. 21 Dec, 2012 1 commit
  27. 20 Dec, 2012 2 commits
  28. 13 Dec, 2012 1 commit
  29. 12 Dec, 2012 1 commit
    • Nigel Tao's avatar
      go.net/publicsuffix: new package. · 67a30480
      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
      67a30480
  30. 30 Nov, 2012 1 commit
  31. 17 Nov, 2012 1 commit