1. 20 Jun, 2016 1 commit
  2. 19 Jun, 2016 1 commit
  3. 18 Jun, 2016 1 commit
  4. 16 Jun, 2016 1 commit
  5. 09 Jun, 2016 1 commit
  6. 08 Jun, 2016 1 commit
  7. 07 Jun, 2016 1 commit
  8. 31 May, 2016 2 commits
  9. 27 May, 2016 1 commit
  10. 26 May, 2016 1 commit
  11. 25 May, 2016 1 commit
  12. 21 May, 2016 1 commit
    • Brad Fitzpatrick's avatar
      http2: prevent Server from sending status 100 header after anything else · 0c607074
      Brad Fitzpatrick authored
      Since Go's HTTP/2 Handlers can read & write concurrently, it was
      previously possible for a Handler to get an HTTP Request with "Expect:
      100-continue" and to first Write some data, then read some data, and
      the read of the data was triggering the server's automatic
      "100-continue" response path.  But if the server had already replied
      with a non-100 HEADERS frame, sending a HEADERS frame with :status 100
      later is in violation of the spec.
      
      Fix it by tracking whether we've already replied with something, and
      ignoring the 100-continue when it's inappropriate.
      
      Updates golang/go#14030
      
      Change-Id: I6745ba0f257a31eaf63816e4263cadbef5a896a2
      Reviewed-on: https://go-review.googlesource.com/23311Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      0c607074
  13. 20 May, 2016 3 commits
  14. 19 May, 2016 2 commits
  15. 18 May, 2016 5 commits
  16. 15 May, 2016 2 commits
  17. 14 May, 2016 1 commit
    • Mikio Hara's avatar
      route: new package · 30be488e
      Mikio Hara authored
      This change introduces a package that provides the basic manipulation of
      routing facilities on BSD variants.
      
      Unlike the existing APIs in syscall package of standard library, the
      package tries to provide operating system and its architecture agnostic
      APIs. At present, the package supports any version of Darwin, any
      version of DragonFly BSD, FreeBSD 7 through 11, NetBSD 6 and above, and
      OpenBSD 5.6 and above.
      
      Updates golang/go#14724.
      
      Change-Id: Id964ea22dec491ddac3776e3a8c8c10f140f96ac
      Reviewed-on: https://go-review.googlesource.com/22446
      Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      30be488e
  18. 13 May, 2016 1 commit
    • Carl Mastrangelo's avatar
      http2/hpack: forbid excess and invalid padding in hpack decoder · 6050c111
      Carl Mastrangelo authored
      This change fixes a few bugs in the HPACK decoder:
       * Excess trailing padding is treated as an error per the HPACK Spec
           section 5.2
       * Non EOS prefix padding is treated as an error
       * Max length is now enforced for all decoded symbols
      
      The idea here is to keep track of the decoded symbol length, rather
      than the number of unconsumed bits in cur.  To this end, nbits has
      been renamed cbits (cur bits), and sbits (sym bits) has been
      introduced.  The main problem with using nbits is that it can easily
      be zero, such as when decoding {0xff, 0xff}.  Using a clear moniker
      makes it easier to see why checking cbits > 0 at the end of the
      function is incorrect.
      
      Fixes golang/go#15614
      
      Change-Id: I1ae868caa9c207fcf9c9dec7f10ee9f400211f99
      Reviewed-on: https://go-review.googlesource.com/23067Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      6050c111
  19. 10 May, 2016 1 commit
  20. 06 May, 2016 1 commit
  21. 05 May, 2016 2 commits
  22. 01 May, 2016 1 commit
  23. 27 Apr, 2016 1 commit
  24. 26 Apr, 2016 1 commit
  25. 22 Apr, 2016 1 commit
  26. 21 Apr, 2016 1 commit
  27. 12 Apr, 2016 2 commits
  28. 11 Apr, 2016 2 commits