-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e432429
commit 40082d1
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,15 +104,14 @@ func (srv *http3Server) mustListenPortLocked(handler http.Handler, ipAddr net.IP | |
} | ||
go srvr.Serve(listener) | ||
|
||
// make sure we track and close the listener: assuming the server was closing the | ||
// listener seems to be the root cause of https://github.com/ooni/probe/issues/2527 | ||
// and closing the listener completely fixes the issue. | ||
// For quic-go < 0.40.0, we needed the following fix as documented by the | ||
// https://github.com/ooni/probe/issues/2527 issue. | ||
// | ||
// srv.closers = append(srv.closers, listener) | ||
// | ||
// Since upgrading to quic-go/[email protected] (see https://github.com/ooni/probe-cli/pull/1428) | ||
// the above fix is no longer relevant. Yet, we want to keep it around for some | ||
// time since it's useful to document past quirks. | ||
// After upgrading to quic-go/[email protected] (https://github.com/ooni/probe-cli/pull/1428) | ||
// the above fix actually makes the code hang forever. We want to keep this message | ||
// around for a couple of cycles (say until ooni/probe-cli < 3.22). | ||
|
||
// make sure we track the server | ||
srv.closers = append(srv.closers, srvr) | ||
|