]> Cypherpunks repositories - gostls13.git/commit
net/http: fix test failure on some Windows machines
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 4 Mar 2014 19:55:35 +0000 (11:55 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 4 Mar 2014 19:55:35 +0000 (11:55 -0800)
commita5166a9512215483dae4e2963435cb3803a9f330
tree96a4edcccbe705d86f3e710dbc02f8158d0ccd85
parentf884e15aabcdf547eb8c8a10e02e6bddc801e7e8
net/http: fix test failure on some Windows machines

The network connection dies differently from the server's
perspective on (some) Windows when the client goes away. Match
on the common prefix (common to Unix and Windows) instead of
the network error part.

Fixes #7456

LGTM=josharian
R=golang-codereviews, josharian
CC=alex.brainman, golang-codereviews, iant
https://golang.org/cl/70010050
src/pkg/net/http/client_test.go