aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-07 20:13:35 -0400
committerRuss Cox <rsc@golang.org>2014-09-07 20:13:35 -0400
commit902f8d9ca036974a853ade8efdd609434a19bbbe (patch)
treeb80db69dd6eb6aeb2e9067ca111d479232b8f47e /src/runtime/stack.go
parentb4bfa6c96415f4a578c1e100a515c2c62981b546 (diff)
downloadgo-902f8d9ca036974a853ade8efdd609434a19bbbe.tar.xz
net/http/httptest: fix deadlock in TestIssue7264
I am seeing deadlocks waiting on <-inHandler. It seems to me that there is no guarantee that the handler actually runs, if the client does write header close connection fast enough. The server might see the EOF on the connection before it manages to invoke the handler. This change fixes the deadlock, but it may make the test not actually test anything. Not sure. LGTM=bradfitz R=bradfitz, dvyukov CC=golang-codereviews https://golang.org/cl/140970043
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions