[x] netx/dialer: optionally save bytes sent recv of every conn but don't make it dependent on the SaverDialer, rather introduce a specific Dialer for this distinct use case
[x] netx/httptransport: make sure we roll out a robust solution for using http/httptrace because we want to make sure we don't rely on tricky/fragile behaviour.
[x] implement specific saver for every purpose
[x] netx/httptransport: integrate code to save body snapshots.
[x] implement internal/archival and deprecate internal/oonidatamodel
[x] implement experiment/urlgetter with optional psiphon tunnelling
This refactoring is functional to measure performance metrics. In turn, by doing that we will be able to measure HTTP fetching performance metrics for Psiphon. This is also a precondition to rewrite Web Connectivity in Go.
Following up from https://github.com/ooni/probe-engine/issues/509. The reference PR is https://github.com/ooni/probe-engine/pull/529.
netx/dialer
: optionally save bytes sent recv of every conn but don't make it dependent on theSaverDialer
, rather introduce a specificDialer
for this distinct use casenetx/httptransport
: make sure we roll out a robust solution for usinghttp/httptrace
because we want to make sure we don't rely on tricky/fragile behaviour.netx/httptransport
: integrate code to save body snapshots.internal/archival
and deprecateinternal/oonidatamodel
experiment/urlgetter
with optional psiphon tunnellingThis refactoring is functional to measure performance metrics. In turn, by doing that we will be able to measure HTTP fetching performance metrics for Psiphon. This is also a precondition to rewrite Web Connectivity in Go.