ooni-probe-cli/internal/ptx
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
..
testdata feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
dependencies_test.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
dependencies.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
doc.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
fake_test.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
fake.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
obfs4_test.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
obfs4.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
ptx_test.go fix(all): introduce and use iox.ReadAllContext (#379) 2021-06-15 11:57:40 +02:00
ptx.go fix(all): introduce and use iox.CopyContext (#380) 2021-06-15 13:44:28 +02:00
snowflake_test.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
snowflake.go fix(snowflake.go): default maxSnowflakes() to 1 (#378) 2021-06-14 18:18:36 +02:00