ooni-probe-cli/internal/netxlite
Simone Basso 99ec7ffca9
fix: ensure experiments return nil when we want to submit (#654)
Since https://github.com/ooni/probe-cli/pull/527, if an experiment
returns an error, the corresponding measurement is not submitted since
the semantics of returning an error is that something fundamental
went wrong (e.g., we could not parse the input URL).

This diff ensures that all experiments only return and error when
something fundamental was wrong and return nil otherwise.

Reference issue: https://github.com/ooni/probe/issues/1808.
2022-01-07 13:17:20 +01:00
..
filtering refactor: move httpx into the internal package (#646) 2022-01-05 17:17:20 +01:00
internal [forwardport] fix(ios): make sure we can build an iOS release (#598) (#599) 2021-11-15 14:24:20 +01:00
mocks refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
quictesting [forwardport] fix: avoid http3 for dns.google and www.google.com (#593) (#594) 2021-11-12 14:43:28 +01:00
bogon_test.go cleanup: move bogon checking code in netxlite (#562) 2021-11-02 12:20:04 +01:00
bogon.go cleanup: move bogon checking code in netxlite (#562) 2021-11-02 12:20:04 +01:00
certifi_test.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
certifi.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
classify_test.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
classify.go fix(netxlite): ensure HTTP errors are always wrapped (#584) 2021-11-06 17:49:58 +01:00
dialer_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dialer.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsdecoder_test.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
dnsdecoder.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsencoder_test.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
dnsencoder.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsoverhttps_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsoverhttps.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsovertcp_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsovertcp.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsoverudp_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsoverudp.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnstransport.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
doc.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
errno_darwin_test.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
errno_darwin.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
errno_freebsd_test.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
errno_freebsd.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
errno_linux_test.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
errno_linux.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
errno_windows_test.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
errno_windows.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
errno.go [forwardport] release 3.11: update all the dependencies (#636) (#637) 2021-12-06 17:46:13 +01:00
errwrapper_test.go fix(netxlite): ensure HTTP errors are always wrapped (#584) 2021-11-06 17:49:58 +01:00
errwrapper.go fix(netxlite): ensure HTTP errors are always wrapped (#584) 2021-11-06 17:49:58 +01:00
http_test.go fix: ensure experiments return nil when we want to submit (#654) 2022-01-07 13:17:20 +01:00
http.go fix: ensure experiments return nil when we want to submit (#654) 2022-01-07 13:17:20 +01:00
http3_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
http3.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
integration_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
iox_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
iox.go fix(netxlite): ensure HTTP errors are always wrapped (#584) 2021-11-06 17:49:58 +01:00
legacy_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
legacy.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
operations.go doc(netxlite): revamp the documentation (#523) 2021-09-29 20:21:25 +02:00
quic_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
quic.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
quirks_test.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
quirks.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
resolver_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
resolver.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
serialresolver_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
serialresolver.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
tls_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
tls.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
tproxy.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
utls_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
utls.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00