Commit 1613be84 authored by Michael Fraenkel's avatar Michael Fraenkel Committed by Dmitri Shuralyov
Browse files

[release-branch.go1.16] net/http: prevent infinite wait during TestMissingStatusNoPanic

If the client request never makes it to the server, the outstanding
accept is never broken. Change the test to always close the listening
socket when the client request completes.

Updates #45358

Change-Id: I744a91dfa11704e7e528163d7669c394e90456dc
Reviewed-on: https://go-review.googlesource.com/c/go/+/319275


Trust: Heschi Kreinick <heschi@google.com>
Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
(cherry picked from commit c0a7ecfa)
Reviewed-on: https://go-review.googlesource.com/c/go/+/320190


Reviewed-by: default avatarDamien Neil <dneil@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
parent 0410005d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment