forked from golang/net
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http2: Discard DATA frames from the server after the response body is…
… closed After a response body is closed, we keep writing to the bufPipe. This accumulates bytes that will never be read, wasting memory. The fix is to discard the buffer on pipe.BreakWithError. Updates golang/go#20448 Change-Id: Ia2cf46cb8c401fd8091ef3785eb48fe7b188bb57 Reviewed-on: https://go-review.googlesource.com/43810 Run-TryBot: Tom Bergan <tombergan@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
- Loading branch information
Showing
4 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters