ooni-probe-cli/internal/netxlite
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
..
internal/generator refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +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: upgrade oohttp and propagate changes (#461) 2021-09-05 21:23:47 +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(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
dialer.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
dialer_test.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
doc.go refactor: start pivoting netx (#396) 2021-06-23 15:53:12 +02:00
http.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
http3.go refactor: introduce factory for stdlib http transport (#413) 2021-07-01 15:26:08 +02:00
http3_test.go feat(netxlite): add dialer factory, simplify resolver factory (#459) 2021-09-05 20:41:46 +02:00
http_test.go feat(netxlite): add dialer factory, simplify resolver factory (#459) 2021-09-05 20:41:46 +02:00
legacy.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
legacy_test.go refactor(dialer): it should close idle connections (#457) 2021-09-05 19:55:28 +02:00
logger.go refactor: move httptransport w/ logging to netxlite (#411) 2021-06-26 18:11:47 +02:00
quic.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
quic_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
resolver_test.go feat(netxlite): add dialer factory, simplify resolver factory (#459) 2021-09-05 20:41:46 +02:00
tls.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
tls_test.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
utls.go fix(netxlite): gracefully handle utls panics (#462) 2021-09-05 21:41:49 +02:00
utls_test.go fix(netxlite): gracefully handle utls panics (#462) 2021-09-05 21:41:49 +02:00