ooni-probe-cli/internal/engine/experiment/ndt7
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
..
callback_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
callback.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
dial_test.go fix(netxlite): make default resolver converge faster (#456) 2021-09-05 18:50:05 +02:00
dial.go refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
download_test.go fix(all): introduce and use iox.ReadAllContext (#379) 2021-06-15 11:57:40 +02:00
download.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
mockable_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
mockable.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
ndt7_test.go fix(netxlite): make default resolver converge faster (#456) 2021-09-05 18:50:05 +02:00
ndt7.go refactor(mlablocate*): move from i/e/internal to internal (#385) 2021-06-15 19:51:03 +02:00
param.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
spec.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
upload_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
upload.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00