ooni-probe-cli/internal/engine/netx/dialer
Simone Basso 721ce95315
fix(all): introduce and use iox.CopyContext (#380)
* fix(all): introduce and use iox.CopyContext

This PR is part of https://github.com/ooni/probe/issues/1417.

In https://github.com/ooni/probe-cli/pull/379 we introduced a context
aware wrapper for io.ReadAll (formerly ioutil.ReadAll).

Here we introduce a context aware wrapper for io.Copy.

* fix(humanize): more significant digits

* fix: rename humanize files to follow the common pattern

* fix aligment

* fix test
2021-06-15 13:44:28 +02:00
..
bytecounter_test.go fix(all): introduce and use iox.CopyContext (#380) 2021-06-15 13:44:28 +02:00
bytecounter.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
dialer_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
dialer.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
dns_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
dns.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
doc.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
errorwrapper_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
errorwrapper.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
example_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
integration_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
logging_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
logging.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
proxy_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
proxy.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
saver_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
saver.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
shaping_disabled.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
shaping_enabled.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
shaping_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
system_test.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00
system.go refactor(netx/dialer): hide implementation complexity (#372) 2021-06-09 09:42:31 +02:00