ooni-probe-cli/internal/engine/netx/tlsdialer
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
..
eof_test.go refactor(netx): extract tlsdialer from dialer 2021-06-08 12:52:15 +02:00
fake_test.go refactor(netx): extract tlsdialer from dialer 2021-06-08 12:52:15 +02:00
integration_test.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
logging.go refactor(netx): move tlshandshaker logger to netxlite (#402) 2021-06-25 12:21:34 +02:00
saver_test.go refactor: split errorsx in good and legacy (#477) 2021-09-07 17:09:30 +02:00
saver.go refactor: merge tlsx into netxlite (#403) 2021-06-25 12:39:45 +02:00
tls_test.go refactor: move ErrorWrapperTLSHandshaker to errorsx (#418) 2021-07-01 18:00:09 +02:00
tls.go refactor: move ErrorWrapperTLSHandshaker to errorsx (#418) 2021-07-01 18:00:09 +02:00