Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Dec 13, 2023
1 parent e432429 commit 40082d1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions internal/netemx/http3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 40082d1

Please sign in to comment.