]> Cypherpunks repositories - gostls13.git/commit
net/http, doc/go1.13.html: revert TimeoutHandler.Flush
authorEmmanuel T Odeke <emmanuel@orijtech.com>
Thu, 26 Sep 2019 20:17:49 +0000 (13:17 -0700)
committerEmmanuel Odeke <emm.odeke@gmail.com>
Thu, 26 Sep 2019 21:12:34 +0000 (21:12 +0000)
commit4faf8a8dc44555c4fdbe4fb108f42144e58ae6b1
treead3dc72c82808f70998c271d1d843f016ef8b32a
parent616c39f6a636166447bdaac4f0871a5ca52bae8c
net/http, doc/go1.13.html: revert TimeoutHandler.Flush

Also added a test to ensure that any interactions
between TimeoutHandler and Flusher result in the
correct status code and body, but also that we don't
get superfluous logs from stray writes as was seen
in the bug report.

Fixes #34439.

Change-Id: I4af62db256742326f9353f98a2fcb5f71d2a5fd9
Reviewed-on: https://go-review.googlesource.com/c/go/+/197659
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
doc/go1.13.html
src/net/http/serve_test.go
src/net/http/server.go