cleanup(netx): remove redundant config options (#791)

Part of https://github.com/ooni/probe/issues/2121
This commit is contained in:
Simone Basso
2022-06-02 18:18:49 +02:00
committed by GitHub
parent e9ed733f07
commit 76b65893a1
8 changed files with 54 additions and 162 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ func (m Measurer) Run(
// See https://github.com/ooni/probe/issues/2112
Dialer: netxlite.NewMaybeShapingDialer(netx.NewDialer(netx.Config{
ContextByteCounting: true,
DialSaver: saver,
Saver: saver,
Logger: sess.Logger(),
})),
Logger: sess.Logger(),