]> Cypherpunks repositories - gostls13.git/commit
http: close connection after printing panic stack trace
authorRoger Peppe <rogpeppe@gmail.com>
Tue, 13 Dec 2011 21:34:22 +0000 (16:34 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 13 Dec 2011 21:34:22 +0000 (16:34 -0500)
commit516168057e0b2a30bcda024892ed36badb731c00
treef127f36fdf680d6583a0b02ede5adacd535527a8
parent19d064f68a275064c4a288f0c89885524b87fe9e
http: close connection after printing panic stack trace
In a testing situation, it's possible for a local http
server to panic and the test exit without the stack trace
ever being printed.
Fixes #2480.

R=rsc, bradfitz
CC=golang-dev
https://golang.org/cl/5414048
src/pkg/net/http/server.go