1. 28 Aug, 2017 1 commit
    • Mike Appleby's avatar
      http2: Respect peer's SETTINGS_MAX_HEADER_LIST_SIZE in ClientConn · 66aacef3
      Mike Appleby authored
      Add a new peerMaxHeaderListSize member to ClientConn which records the
      SETTINGS_MAX_HEADER_LIST_SIZE requested by the client's peer, and
      respect this limit in (*ClientConn) encodeHeaders / encodeTrailers.
      
      Attempting to send more than peerMaxHeaderListSize bytes of headers or
      trailers will result in RoundTrip returning errRequestHeaderListSize.
      
      Updates golang/go#13959
      
      Change-Id: Ic707179782acdf8ae543429ea1af7f4f30e67e59
      Reviewed-on: https://go-review.googlesource.com/29243
      Run-TryBot: Tom Bergan <tombergan@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarTom Bergan <tombergan@google.com>
      66aacef3
  2. 24 Aug, 2017 1 commit
  3. 09 Aug, 2017 1 commit
    • Tom Bergan's avatar
      http2: block RoundTrip when the Transport hits MaxConcurrentStreams · 1c05540f
      Tom Bergan authored
      Currently if the http2.Transport hits SettingsMaxConcurrentStreams for a
      server, it just makes a new TCP connection and creates the stream on the
      new connection. This CL updates that behavior to instead block RoundTrip
      until a new stream is available.
      
      I also fixed a second bug, which was necessary to make some tests pass:
      Previously, a stream was removed from cc.streams only if either (a) we
      received END_STREAM from the server, or (b) we received RST_STREAM from
      the server. This CL removes a stream from cc.streams if the request was
      cancelled (via ctx.Close, req.Cancel, or resp.Body.Close) before
      receiving END_STREAM or RST_STREAM from the server.
      
      Updates golang/go#13774
      Updates golang/go#20985
      Updates golang/go#21229
      
      Change-Id: I660ffd724c4c513e0f1cc587b404bedb8aff80be
      Reviewed-on: https://go-review.googlesource.com/53250
      Run-TryBot: Tom Bergan <tombergan@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      1c05540f
  4. 08 Aug, 2017 3 commits
  5. 26 Jul, 2017 1 commit
  6. 21 Jul, 2017 1 commit
  7. 20 Jul, 2017 1 commit
  8. 19 Jul, 2017 3 commits
  9. 18 Jul, 2017 1 commit
  10. 16 Jul, 2017 1 commit
  11. 11 Jul, 2017 1 commit
  12. 06 Jul, 2017 1 commit
  13. 04 Jul, 2017 3 commits
  14. 29 Jun, 2017 3 commits
  15. 28 Jun, 2017 1 commit
  16. 27 Jun, 2017 3 commits
  17. 24 Jun, 2017 1 commit
  18. 23 Jun, 2017 1 commit
  19. 21 Jun, 2017 4 commits
  20. 19 Jun, 2017 2 commits
  21. 16 Jun, 2017 1 commit
  22. 14 Jun, 2017 2 commits
  23. 13 Jun, 2017 2 commits
  24. 10 Jun, 2017 1 commit