Brad Fitzpatrick b1050542c1 net/http: don't panic after request if Handler sets Request.Body to nil
The Server's server goroutine was panicing (but recovering) when
cleaning up after handling a request. It was pretty harmless (it just
closed that one connection and didn't kill the whole process) but it
was distracting.

Updates #13135

Change-Id: I2a0ce9e8b52c8d364e3f4ce245e05c6f8d62df14
Reviewed-on: https://go-review.googlesource.com/16572
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-11-04 00:00:15 +00:00
..
2015-10-30 22:58:43 +00:00
2015-10-11 11:07:25 +00:00
2015-10-30 22:55:19 +00:00
2015-10-27 15:46:29 +00:00
2015-11-03 19:20:21 +00:00
2015-08-17 06:58:16 +00:00
2015-10-26 10:42:38 +00:00
2015-10-26 15:20:02 +00:00
2015-06-18 16:13:13 +00:00
2015-06-18 16:13:13 +00:00
2015-07-11 14:36:33 +00:00
2015-07-11 14:36:33 +00:00