ooni-probe-cli/internal/engine/netx/tlsdialer
Simone Basso 2572376fdb
feat(netxlite): implement single use {,tls} dialer (#464)
This basically adapts already existing code inside websteps to
instead be into the netxlite package, where it belongs.

In the process, abstract the TLSDialer but keep a reference to the
previous name to avoid refactoring existing code (just for now).

While there, notice that the right name is CloseIdleConnections (i.e.,
plural not singular) and change the name.

While there, since we abstracted TLSDialer to be an interface, create
suitable factories for making a TLSDialer type from a Dialer and a
TLSHandshaker.

See https://github.com/ooni/probe/issues/1591
2021-09-06 14:12: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 feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12: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