refactor(netxlite): allow easy QUIC dialer chain customization (#771)
Like the previous diff, but for creating QUIC dialers. See https://github.com/ooni/probe/issues/2121.
This commit is contained in:
parent
69fd0c5119
commit
dd5655eaee
4 changed files with 60 additions and 52 deletions
|
|
@ -135,7 +135,7 @@ func NewDialerWithoutResolver(dl model.DebugLogger, w ...DialerWrapper) model.Di
|
|||
return NewDialerWithResolver(dl, &NullResolver{}, w...)
|
||||
}
|
||||
|
||||
// DialerSystem is a model.Dialer that users TProxy.NewSimplerDialer
|
||||
// DialerSystem is a model.Dialer that uses TProxy.NewSimplerDialer
|
||||
// to construct the new SimpleDialer used for dialing. This dialer has
|
||||
// a fixed timeout for each connect operation equal to 15 seconds.
|
||||
type DialerSystem struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue