]> Cypherpunks repositories - gostls13.git/commit
net/http: make the MaxBytesReader.Read error sticky
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 10 May 2016 22:09:23 +0000 (15:09 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 11 May 2016 17:10:58 +0000 (17:10 +0000)
commit4d8031cf3c179d8682b62feae1d5a9109d14b382
treeba11f4c8f744079b7ed93872df821980d2274cfa
parent20e362dae73b84e7b9dba9959444e5bc9d513ff1
net/http: make the MaxBytesReader.Read error sticky

Fixes #14981

Change-Id: I39b906d119ca96815801a0fbef2dbe524a3246ff
Reviewed-on: https://go-review.googlesource.com/23009
Reviewed-by: Andrew Gerrand <adg@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/request.go
src/net/http/request_test.go