ooni-probe-cli/internal/netxlite
Simone Basso aa77867145
fix(netxlite): clearly document quirk and make code robust (#468)
This quirk really saddens me. It's a piece of tech debt we're
carrying over from the original netx implementation.

We cannot remove it _until_ we have legacy netx code around.

The second best thing we can do is to clearly move this code in
a place where it's clear it's a quirk and write and use some extra
code that makes sure the quirk's assumptions are always met.

Sigh.

See https://github.com/ooni/probe/issues/1591
2021-09-06 20:17:45 +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 fix(netxlite): http factory that propagates close-idle-connections (#465) 2021-09-06 16:53:28 +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_test.go feat(netxlite): implement single use {,tls} dialer (#464) 2021-09-06 14:12:30 +02:00
dialer.go fix(netxlite): clearly document quirk and make code robust (#468) 2021-09-06 20:17:45 +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 feat(netxlite): add dialer factory, simplify resolver factory (#459) 2021-09-05 20:41:46 +02:00
http3.go refactor: introduce factory for stdlib http transport (#413) 2021-07-01 15:26:08 +02:00
legacy_test.go fix(netxlite): clearly document quirk and make code robust (#468) 2021-09-06 20:17:45 +02:00
legacy.go fix(netxlite): clearly document quirk and make code robust (#468) 2021-09-06 20:17:45 +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 dialer factory, simplify resolver factory (#459) 2021-09-05 20:41:46 +02:00
quic.go fix(netxlite): clearly document quirk and make code robust (#468) 2021-09-06 20:17:45 +02:00
quirks_test.go fix(netxlite): clearly document quirk and make code robust (#468) 2021-09-06 20:17:45 +02:00
quirks.go fix(netxlite): clearly document quirk and make code robust (#468) 2021-09-06 20:17:45 +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