ooni-probe-cli/internal/netxlite
Simone Basso a3a27b1ebf
fix(netxlite): make default resolver converge faster (#456)
* fix(netxlite): make default resolver converge faster

Closes https://github.com/ooni/probe/issues/1726

* Update internal/netxlite/resolver.go

* fix(ndt7): adapt tests after previous change

Because now we're running the DNS resolution inside a goroutine
with a child context, the returned error string is different.

The previous error said we canceled the whole dialing operation,
while now we see directly that the context was canceled.
2021-09-05 18:50:05 +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 refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +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 refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
dialer.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
doc.go refactor: start pivoting netx (#396) 2021-06-23 15:53:12 +02:00
http_test.go refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
http.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
http3_test.go refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
http3.go refactor: introduce factory for stdlib http transport (#413) 2021-07-01 15:26:08 +02:00
legacy_test.go refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
legacy.go refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
logger.go refactor: move httptransport w/ logging to netxlite (#411) 2021-06-26 18:11:47 +02:00
quic_test.go refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
quic.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
resolver_test.go fix(netxlite): make default resolver converge faster (#456) 2021-09-05 18:50:05 +02:00
resolver.go fix(netxlite): make default resolver converge faster (#456) 2021-09-05 18:50:05 +02:00
tls_test.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
tls.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
utls_test.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
utls.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00