ooni-probe-cli/internal/netxlite
Simone Basso 83440cf110
refactor: split errorsx in good and legacy (#477)
The legacy part for now is internal/errorsx. It will stay there until
I figure out whether it also needs some extra bug fixing.

The good part is now in internal/netxlite/errorsx and contains all the
logic for mapping errors. We need to further improve upon this logic
by writing more thorough integration tests for QUIC.

We also need to copy the various dialer, conn, etc adapters that set
errors. We will put them inside netxlite and we will generate errors in
a way that is less crazy with respect to the major operation. (The
idea is to always wrap, given that now we measure in an incremental way
and we don't measure every operation together.)

Part of https://github.com/ooni/probe/issues/1591
2021-09-07 17:09:30 +02:00
..
errorsx refactor: split errorsx in good and legacy (#477) 2021-09-07 17:09:30 +02:00
internal/gencertifi refactor(errorsx): improve errno generating code (#473) 2021-09-07 14:25:42 +02:00
iox refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
mocks feat(netxlite): add CloseIdleConnections to quic dialer (#469) 2021-09-06 20:56:14 +02:00
quicx refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
certifi.go refactor(errorsx): improve errno generating code (#473) 2021-09-07 14:25:42 +02:00
dialer_test.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
dialer.go refactor(netxlite): adapt single-use-quic-dialer from websteps (#472) 2021-09-06 22:14:49 +02:00
doc.go refactor: start pivoting netx (#396) 2021-06-23 15:53:12 +02:00
http_test.go refactor(netxlite): let NewHTTPTransport work with single-use dialers (#467) 2021-09-06 19:27:59 +02:00
http.go refactor(netxlite): let NewHTTPTransport work with single-use dialers (#467) 2021-09-06 19:27:59 +02:00
http3_test.go fix(netxlite): http3 propagates CloseIdleConnections to its dialer (#471) 2021-09-06 21:52:00 +02:00
http3.go fix(netxlite): http3 propagates CloseIdleConnections to its dialer (#471) 2021-09-06 21:52:00 +02:00
legacy_test.go feat(netxlite): add CloseIdleConnections to quic dialer (#469) 2021-09-06 20:56:14 +02:00
legacy.go feat(netxlite): add CloseIdleConnections to quic dialer (#469) 2021-09-06 20:56:14 +02:00
logger.go refactor: move httptransport w/ logging to netxlite (#411) 2021-06-26 18:11:47 +02:00
quic_test.go refactor(netxlite): adapt single-use-quic-dialer from websteps (#472) 2021-09-06 22:14:49 +02:00
quic.go refactor(netxlite): adapt single-use-quic-dialer from websteps (#472) 2021-09-06 22:14:49 +02:00
quirks_test.go refactor: split errorsx in good and legacy (#477) 2021-09-07 17:09:30 +02:00
quirks.go refactor: split errorsx in good and legacy (#477) 2021-09-07 17:09:30 +02:00
resolver_test.go feat(netxlite): add dialer factory, simplify resolver factory (#459) 2021-09-05 20:41:46 +02:00
resolver.go feat(netxlite): add dialer factory, simplify resolver factory (#459) 2021-09-05 20:41:46 +02:00
tls_test.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
tls.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
utls_test.go fix(netxlite): gracefully handle utls panics (#462) 2021-09-05 21:41:49 +02:00
utls.go fix(netxlite): gracefully handle utls panics (#462) 2021-09-05 21:41:49 +02:00