]> Cypherpunks repositories - gostls13.git/commit
net/http: fix send on close channel error
authorDave Cheney <dave@cheney.net>
Tue, 21 Aug 2012 01:18:16 +0000 (11:18 +1000)
committerDave Cheney <dave@cheney.net>
Tue, 21 Aug 2012 01:18:16 +0000 (11:18 +1000)
commit2bdc60f8e71aabafccb1c414a7732a265faac3dd
treec31071aff5bee614421d0c346938162e89dcea4f
parent122a558f4701efc1841f7a5bc2d7c65ed4606fc1
net/http: fix send on close channel error

Fixes #3793.

Tested using GOMAXPROCS=81 which was able to trigger a panic
in TestStressSurpriseServerCloses continually on a Core i5.

R=fullung, bradfitz
CC=golang-dev
https://golang.org/cl/6445069
src/pkg/net/http/transport.go