1. 14 Dec, 2015 1 commit
  2. 11 Dec, 2015 5 commits
  3. 09 Dec, 2015 1 commit
  4. 08 Dec, 2015 2 commits
    • Brad Fitzpatrick's avatar
      http2: make the Transport write request body data as it's available · 438097d7
      Brad Fitzpatrick authored
      Unlike HTTP/1, we now permit streaming the write of a request body as
      we read the response body, since HTTP/2's framing makes it possible.
      Our behavior however is based on a heuristic: we always begin writing
      the request body right away (like previously, and like HTTP/1), but if
      we're still writing the request body and the server replies with a
      status code over 299 (not 1xx and not 2xx), then we stop writing the
      request body, assuming the server doesn't care about it. There is
      currently no switch (and hopefully won't be) to force enable this
      behavior. In the case where the server replied with a 1xx/2xx and
      we're still writing the request body but the server doesn't want it,
      the server can do a RST_STREAM, which we respect as before and stop
      sending.
      
      Also in this CL:
      
      * adds an h2demo handler at https://http2.golang.org/ECHO to demo it
      
      * fixes a potential flow control integer truncation bug
      
      * start of clientTester type used for the tests in this CL, similar
        to the serverTester. It's still a bit cumbersome to write client
        tests, though.
      
      * fix potential deadlock where awaitFlowControl could block while
        waiting a stream reset arrived. fix it by moving all checks into
        the sync.Cond loop, rather than having a sync.Cond check followed
        by a select. simplifies code, too.
      
      * fix two data races in test-only code.
      
      Updates golang/go#13444
      
      Change-Id: Idfda6833a212a89fcd65293cdeb4169d1723724f
      Reviewed-on: https://go-review.googlesource.com/17310Reviewed-by: 's avatarBlake Mizerany <blake.mizerany@gmail.com>
      438097d7
    • Nigel Tao's avatar
      publicsuffix: update table to latest list from publicsuffix.org. · fa33dc7b
      Nigel Tao authored
      $ cd golang.org/x/net/publicsuffix/
      $ go run gen.go -version "publicsuffix.org's public_suffix_list.dat, git revision 1f3ad51 (2015-12-05)" -test >table_test.go
      $ go run gen.go -version "publicsuffix.org's public_suffix_list.dat, git revision 1f3ad51 (2015-12-05)" >table.go
      
      Change-Id: I6f4bdd66b325b7abb097dcfe525a3cd1154b2d23
      Reviewed-on: https://go-review.googlesource.com/17477Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      fa33dc7b
  5. 03 Dec, 2015 2 commits
  6. 30 Nov, 2015 1 commit
  7. 28 Nov, 2015 1 commit
  8. 27 Nov, 2015 1 commit
  9. 26 Nov, 2015 1 commit
  10. 25 Nov, 2015 1 commit
    • Brad Fitzpatrick's avatar
      http2: client & server fixes · c745c36e
      Brad Fitzpatrick authored
      Fixes found in the process of adding more A/B tests to net/http,
      comparing HTTP/1 and HTTP/2 behaviors.
      
      Most of the new tests are in Gerrit change Id9c45fad44cdf70ac9
      in the "go" repo.
      
      Fixes golang/go#13315
      Fixes golang/go#13316
      Fixes golang/go#13317
      Fixes other stuff found in the process too
      Updates golang/go#6891 (http2 support in general)
      
      Change-Id: I83b5bfb471047312c0dcb0a0b21d709008f34136
      Reviewed-on: https://go-review.googlesource.com/17204Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
      c745c36e
  11. 21 Nov, 2015 2 commits
  12. 20 Nov, 2015 1 commit
  13. 14 Nov, 2015 1 commit
  14. 11 Nov, 2015 2 commits
  15. 08 Nov, 2015 1 commit
  16. 07 Nov, 2015 3 commits
  17. 02 Nov, 2015 1 commit
  18. 30 Oct, 2015 1 commit
  19. 29 Oct, 2015 2 commits
  20. 28 Oct, 2015 2 commits
  21. 27 Oct, 2015 7 commits
  22. 22 Oct, 2015 1 commit