ooni-probe-cli/internal/netxlite/dnsx
Simone Basso 24b230fd38
fix(netxlite/dns): more stricly mirror stdlib error strings (#513)
This diff attempts to modify the errors reported by our custom
resolver by matching more strings from the stdlib.

Part of https://github.com/ooni/probe/issues/1733 and diff has been
extracted from https://github.com/ooni/probe-cli/pull/506.
2021-09-27 16:48:46 +02:00
..
mocks refactor(netx): move dns transports in netxlite/dnsx (#503) 2021-09-09 21:24:27 +02:00
decoder_test.go fix(netxlite/dns): more stricly mirror stdlib error strings (#513) 2021-09-27 16:48:46 +02:00
decoder.go fix(netxlite/dns): more stricly mirror stdlib error strings (#513) 2021-09-27 16:48:46 +02:00
dnsoverhttps_test.go fix(netxlite/dns): more stricly mirror stdlib error strings (#513) 2021-09-27 16:48:46 +02:00
dnsoverhttps.go fix(netxlite/dns): more stricly mirror stdlib error strings (#513) 2021-09-27 16:48:46 +02:00
dnsovertcp_test.go refactor(netx): move dns transports in netxlite/dnsx (#503) 2021-09-09 21:24:27 +02:00
dnsovertcp.go refactor(netx): move dns transports in netxlite/dnsx (#503) 2021-09-09 21:24:27 +02:00
dnsoverudp_test.go refactor(netx): move dns transports in netxlite/dnsx (#503) 2021-09-09 21:24:27 +02:00
dnsoverudp.go refactor(netx): move dns transports in netxlite/dnsx (#503) 2021-09-09 21:24:27 +02:00
encoder_test.go refactor(netx): move dns transports in netxlite/dnsx (#503) 2021-09-09 21:24:27 +02:00
encoder.go refactor(netx): move dns transports in netxlite/dnsx (#503) 2021-09-09 21:24:27 +02:00
roundtripper.go refactor(netx): move dns transports in netxlite/dnsx (#503) 2021-09-09 21:24:27 +02:00
serial_test.go fix(netxlite/dns): more stricly mirror stdlib error strings (#513) 2021-09-27 16:48:46 +02:00
serial.go fix(netxlite/dns): more stricly mirror stdlib error strings (#513) 2021-09-27 16:48:46 +02:00