- 24 Aug, 2017 1 commit
-
-
Olivier Poitrey authored
If the server returns a DATA frame before a HEADERS frame, the client must close the connection with a PROTOCOL_ERROR as describe in the section 8.1.2.6. The current implementation does not reject such sequence and panics trying to write on the non-initialized bufPipe. Fixes golang/go#21466 Change-Id: I55755dba259d026529a031e9ff82c915f5e4afae Reviewed-on: https://go-review.googlesource.com/56770Reviewed-by: Tom Bergan <tombergan@google.com> Run-TryBot: Tom Bergan <tombergan@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 09 Aug, 2017 1 commit
-
-
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: Brad Fitzpatrick <bradfitz@golang.org>
-
- 08 Aug, 2017 3 commits
-
-
Brad Fitzpatrick authored
Change-Id: I35049c37558ddedb9056278c9878f3e3fd6f7f76 Reviewed-on: https://go-review.googlesource.com/53640Reviewed-by: Avelino <t@avelino.xxx> Reviewed-by: Tom Bergan <tombergan@google.com>
-
Brad Fitzpatrick authored
We still support Go 1.6 for a few more days. (it'd normally be dropped after Go 1.9 final is out) And maybe we'll need to make a special case for supporting it longer than normal if gRPC needs to. Change-Id: I78675f1ef26aa09436a70d0f8aa3a0958768dd14 Reviewed-on: https://go-review.googlesource.com/53641Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tom Bergan authored
RoundTrip will retry a request if it receives REFUSED_STREAM. To guard against servers that use REFUSED_STREAM to encourage rate limiting, or servers that return REFUSED_STREAM deterministically for some requests, we retry after an exponential backoff and we cap the number of retries. The exponential backoff starts on the second retry, with a backoff sequence of 1s, 2s, 4s, etc, with 10% random jitter. The retry cap was set to 6, somewhat arbitrarily. Rationale: this is what Firefox does. Updates golang/go#20985 Change-Id: I4dcac4392ac4a3220d6d839f28bf943fe6b3fea7 Reviewed-on: https://go-review.googlesource.com/50471 Run-TryBot: Tom Bergan <tombergan@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 26 Jul, 2017 1 commit
-
-
Mikio Hara authored
Also makes it possible to capture RTM_DESYNC messages when you have a routing protocol implementation that requires to be aware of the health condition of kernel RIB on OpenBSD. Change-Id: Idd0c8c5e8f5ea72a4d56c9a46c137786bcda6354 Reviewed-on: https://go-review.googlesource.com/50191 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 21 Jul, 2017 1 commit
-
-
Mikio Hara authored
Change-Id: I9fb463a5b26e79073a3efc06eea13fd8fcdbf021 Reviewed-on: https://go-review.googlesource.com/50190 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 20 Jul, 2017 1 commit
-
-
Tom Bergan authored
Change-Id: Id891991e2b8371ad5744e7a0ec392d9d9bbeefdc Reviewed-on: https://go-review.googlesource.com/50130Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 19 Jul, 2017 3 commits
-
-
Ian Gudger authored
Updates golang/go#16218 Change-Id: I613cf0a65d40a9823c83e0a547fbd48b2236d16e Reviewed-on: https://go-review.googlesource.com/49630Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com> Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
-
Mikio Hara authored
Change-Id: I38980c8463b7806c129024967713125acf663b82 Reviewed-on: https://go-review.googlesource.com/49791 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Mikio Hara authored
Change-Id: Ia3dbad890e3574b34370034fd4cb4bf96323bab3 Reviewed-on: https://go-review.googlesource.com/49790 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 18 Jul, 2017 1 commit
-
-
Daniela Petruzalek authored
Updates golang/go#17613 Change-Id: I0b272c19c263f20084a936b5122bb3cfebacc752 Reviewed-on: https://go-review.googlesource.com/49750Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 16 Jul, 2017 1 commit
-
-
Rhys Hiltner authored
Since Go 1.7 started including the context package in the core distribution, this package has been forwarding to the core package's implementation to the best of its ability. Since type aliases are due to be included in the Go 1.9 release, use them to forward more completely. Change-Id: I97b92cd34b3f4426f565bb3d115f119d3c83a1dd Reviewed-on: https://go-review.googlesource.com/49020 Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 11 Jul, 2017 1 commit
-
-
Tobias Klauser authored
Fix two format argument warnings found by vet. Change-Id: I01d55197c110c2a7486b1bd5dbd0afd74812e535 Reviewed-on: https://go-review.googlesource.com/48090Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 06 Jul, 2017 1 commit
-
-
Shi Han Ng authored
Fixes golang/go#13456 Change-Id: I0b938f824c47b29ac2026eff83e61c2f227a6cc1 Reviewed-on: https://go-review.googlesource.com/47530 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 04 Jul, 2017 3 commits
-
-
Mikio Hara authored
Change-Id: I248e5e5215960bceaba357d3d4a6e72191f955b1 Reviewed-on: https://go-review.googlesource.com/47372 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
-
Mikio Hara authored
Change-Id: I588bc65b0052efb12b3b7bc2267deedcdad029ce Reviewed-on: https://go-review.googlesource.com/47371 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
-
Mikio Hara authored
Change-Id: I17444d1cc3ce03b6947aaae18d4cecdf9c36193f Reviewed-on: https://go-review.googlesource.com/47110Reviewed-by: Ian Gudger <igudger@google.com> Reviewed-by: Matt Layher <mdlayher@gmail.com> Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 29 Jun, 2017 3 commits
-
-
Dmitri Shuralyov authored
CL 47095 applied a change to ExampleWithTimeout to resolve test flakiness. This change deviated ExampleWithTimeout further away from the ExampleWithTimeout in standard library's context package. There was a minor issue spotted in code review. Instead of attempting to resolve it here, it's better to use the version of ExampleWithTimeout from standard library that doesn't have the issue, and reduce maintenance. Change-Id: I3da9d7f7c35b33b52635df4c61058cb0b8ae95d9 Reviewed-on: https://go-review.googlesource.com/47212 Run-TryBot: Dmitri Shuralyov <shurcool@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Got a trybot failure in https://storage.googleapis.com/go-build-log/8aee0b8b/linux-amd64_38d0be3e.log Change-Id: I867a658968a0088c9f3f76ff235816e4179f0bec Reviewed-on: https://go-review.googlesource.com/47095Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
-
Tom Bergan authored
If the transport had previously sent a RST_STREAM but had not yet deleted the stream from its list of active streams, we should refund connection-level flow control for any DATA frame received as such DATA frames will never be read. We already refund connection-level flow control if a stream closes with unread data in bufPipe. However, when we receive a DATA frame after reset, we don't bother writing it to bufPipe, so we have to refund the flow control separately. Updates golang/go#20469 Change-Id: I5a9810a5d6b1bd7e291173af53646246545a6665 Reviewed-on: https://go-review.googlesource.com/46591 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 28 Jun, 2017 1 commit
-
-
Mikio Hara authored
Change-Id: I51969f70d4fc69829fd5a8bcd8a34b3be15b9db0 Reviewed-on: https://go-review.googlesource.com/46930 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 27 Jun, 2017 3 commits
-
-
Mikio Hara authored
Also renames the existing example function to make it visible with godoc command and godoc.org. Change-Id: I0e5bef22f2a95930c59c6e79f010ba61651012cd Reviewed-on: https://go-review.googlesource.com/46791 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> Reviewed-by: Ian Gudger <igudger@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Mikio Hara authored
Change-Id: I288f01233defe6c673ef9dd5ec79353d3663a9af Reviewed-on: https://go-review.googlesource.com/46790 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Gudger <igudger@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Marcel van Lohuizen authored
Fixes golang/go#19821 Change-Id: Iee5d43dfeaaf580c39ca38a7a3a74cf2a8b347b3 Reviewed-on: https://go-review.googlesource.com/44381 Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
- 24 Jun, 2017 1 commit
-
-
Ian Gudger authored
Updates golang/go#16218 Change-Id: Ice2821e873807ac4222825f0ca6f47b6a53f90b9 Reviewed-on: https://go-review.googlesource.com/46630Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
-
- 23 Jun, 2017 1 commit
-
-
Ian Gudger authored
Parsing and building can now be done 100% allocation free for most types. Non-name variable-length fields such as TXT records still require allocations. Building with compression still causes allocations due to the use of a map. Both parsing and building will perform allocations in error paths. Updates golang/go#16218 Change-Id: I644a7776bd0bf4ad20def521cee44eeadc5e9c06 Reviewed-on: https://go-review.googlesource.com/41145 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 21 Jun, 2017 4 commits
-
-
Mikio Hara authored
Change-Id: I226484f6edb0c299487b87fc0384e478969debdc Reviewed-on: https://go-review.googlesource.com/46233 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Mikio Hara authored
Change-Id: If48cad79ce060625db0c04ad80f6305fd8d4b338 Reviewed-on: https://go-review.googlesource.com/46232 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Mikio Hara authored
Change-Id: I991e893a0f0b0aea680ef18e09008b30e8a972c6 Reviewed-on: https://go-review.googlesource.com/46231 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Mikio Hara authored
Change-Id: Ia73c7bfff664f91c8a4c97656d0bd9e576145aa4 Reviewed-on: https://go-review.googlesource.com/46230 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 19 Jun, 2017 2 commits
-
-
Brad Fitzpatrick authored
With Tom Bergan. Updates golang/go#20704 Change-Id: Ib71202801f8c72af2f22865899c93df1f3753fdd Reviewed-on: https://go-review.googlesource.com/46008 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tom Bergan <tombergan@google.com>
-
Jaana Burcu Dogan authored
Fixes #20478. Change-Id: I739b6f1368889b735944d74be2d16b7e09eb11a2 Reviewed-on: https://go-review.googlesource.com/45998Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 16 Jun, 2017 1 commit
-
-
Brad Fitzpatrick authored
Updates golang/go#18891 Change-Id: I866862d805dc1757b27817ddb30cf22dc48ac3ff Reviewed-on: https://go-review.googlesource.com/45993 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 14 Jun, 2017 2 commits
-
-
Volker Dobler authored
Update the list to revision f47d806df99585862c8426c3e064a50eb5a278f5 (2017-06-14T11:49:01Z). The rules for the TLD zw changed thus changing the tests to bd which has the same rule as the old zw TLD. Change-Id: Ic4ed6eaeb3e97d20c50f44a4934576fa3f0393d7 Reviewed-on: https://go-review.googlesource.com/45731 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Updates golang/go#19103 (fixes after bundle into std) Change-Id: I847133e289e210dedf2b89ab529478edc5de11d1 Reviewed-on: https://go-review.googlesource.com/45773 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 13 Jun, 2017 2 commits
-
-
Mikio Hara authored
Change-Id: I5c484662add4261f504607758521718f4c760375 Reviewed-on: https://go-review.googlesource.com/45294 TryBot-Result: Gobot Gobot <gobot@golang.org> Run-TryBot: Matt Layher <mdlayher@gmail.com> Reviewed-by: Matt Layher <mdlayher@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Matt Layher authored
This interface can be implemented by types which are capable of attaching compiled BPF filters to themselves, such as x/net/ipv{4,6}.PacketConn. Fixes golang/go#19912 Change-Id: I4674c3e312c173d5a7a3beb3cd53704f8c08e29b Reviewed-on: https://go-review.googlesource.com/44972 Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
-
- 10 Jun, 2017 1 commit
-
-
Brad Fitzpatrick authored
It apparently used to be called connErrorReason but when it was renamed the comment wasn't updated. Also, the comment was split via a blank line, detaching it from its decl node. Change-Id: I4ae510fc0e48fd61f40489428f9da4c6cab3ef2f Reviewed-on: https://go-review.googlesource.com/45273Reviewed-by: Hiroshi Ioka <hirochachacha@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 09 Jun, 2017 1 commit
-
-
Mikio Hara authored
Change-Id: I39f79ec43c73b2fcc90316713181940ada523150 Reviewed-on: https://go-review.googlesource.com/45114 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-