Skip to content

Commit

Permalink
bug: connection is not properly closed
Browse files Browse the repository at this point in the history
Signed-off-by: oliverpool <[email protected]>
  • Loading branch information
oliverpool committed Dec 4, 2024
1 parent f9b7568 commit 7451de7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions connect_ext_close_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,10 @@ func testClientStream_CancelContext(t *testing.T, enableHTTP2 bool) {
case <-time.After(time.Second):
t.Error("stream was not done receiving within 1s")
}

// The connection appears to not be properly closed:
// The following line takes 5 seconds and outputs:
// httptest.Server blocked in Close after 5 seconds, waiting for connections:
// *tls.Conn 0x0000 127.0.0.1:**** in state active
s.Close()
}

0 comments on commit 7451de7

Please sign in to comment.