ooni-probe-cli/internal/netxlite
Simone Basso 6895946a34
refactor: introduce factory for stdlib http transport (#413)
With this factory, we want to construct ourselves the TLS dialer
so that we can use a dialer wrapper that always sets timeouts when
reading, addressing https://github.com/ooni/probe/issues/1609.

As a result, we cannot immediately replace the i/e/netx factory
for creating a new HTTP transport, since the functions signatures
are not directly compatible.

Refactoring is part of https://github.com/ooni/probe/issues/1505.
2021-07-01 15:26:08 +02:00
..
certifi.go refactor: merge tlsx into netxlite (#403) 2021-06-25 12:39:45 +02:00
certifigen.go refactor: merge tlsx into netxlite (#403) 2021-06-25 12:39:45 +02:00
dialer_test.go refactor(netxlite): make sure we always use netxmocks (#399) 2021-06-23 17:00:44 +02:00
dialer.go refactor: move quic dns dialing to netxlite (#408) 2021-06-25 18:38:13 +02:00
doc.go refactor: start pivoting netx (#396) 2021-06-23 15:53:12 +02:00
http_test.go refactor: introduce factory for stdlib http transport (#413) 2021-07-01 15:26:08 +02:00
http.go refactor: introduce factory for stdlib http transport (#413) 2021-07-01 15:26:08 +02:00
http3_test.go refactor: move base http3 transport into netxlite (#412) 2021-06-30 15:19:10 +02:00
http3.go refactor: introduce factory for stdlib http transport (#413) 2021-07-01 15:26:08 +02:00
legacy_test.go refactor: move quic dns dialing to netxlite (#408) 2021-06-25 18:38:13 +02:00
legacy.go refactor: move quic dns dialing to netxlite (#408) 2021-06-25 18:38:13 +02:00
logger.go refactor: move httptransport w/ logging to netxlite (#411) 2021-06-26 18:11:47 +02:00
quic_test.go feat(netxlite): add QUICDialerLogger (#410) 2021-06-26 16:54:02 +02:00
quic.go feat(netxlite): add QUICDialerLogger (#410) 2021-06-26 16:54:02 +02:00
resolver_test.go refactor(netxlite): make sure we always use netxmocks (#399) 2021-06-23 17:00:44 +02:00
resolver.go refactor: move tls handshaker to netxlite (#400) 2021-06-25 11:07:26 +02:00
tlsconn.go fix(netxlite): improve TLS auto-configuration (#409) 2021-06-25 20:51:59 +02:00
tlsdialer_test.go fix(netxlite): improve TLS auto-configuration (#409) 2021-06-25 20:51:59 +02:00
tlsdialer.go fix(netxlite): improve TLS auto-configuration (#409) 2021-06-25 20:51:59 +02:00
tlshandshaker_test.go fix(netxlite): improve TLS auto-configuration (#409) 2021-06-25 20:51:59 +02:00
tlshandshaker.go fix(netxlite): improve TLS auto-configuration (#409) 2021-06-25 20:51:59 +02:00
tlsx_test.go refactor: merge tlsx into netxlite (#403) 2021-06-25 12:39:45 +02:00
tlsx.go refactor: merge tlsx into netxlite (#403) 2021-06-25 12:39:45 +02:00