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 issue 2480.
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 issue 2480.

R=rsc, bradfitz
CC=golang-dev
http://codereview.appspot.com/5414048

Committer: Russ Cox <5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org>

dsriram/golang,apparentlymart/golang,apparentlymart/golang,pombredanne/go-deleteme,tv42/old-go,pombredanne/go-deleteme,tv42/old-go,apparentlymart/golang,gnanderson/go,gnanderson/go,gnanderson/go,pombredanne/go-deleteme,pombredanne/go-deleteme,apparentlymart/golang,pombredanne/go-deleteme,apparentlymart/golang,tv42/old-go,dsriram/golang,apparentlymart/golang,dsriram/golang,gnanderson/go,pombredanne/go-deleteme,dsriram/golang,gnanderson/go,pombredanne/go-deleteme,dsriram/golang,apparentlymart/golang,gnanderson/go,dsriram/golang,tv42/old-go,tv42/old-go,tv42/old-go,gnanderson/go,tv42/old-go,dsriram/golang