ooni-probe-cli/internal/netxlite/mocks
Simone Basso 6df27d919d
fix(netxlite): http factory that propagates close-idle-connections (#465)
While there reorganize mocks' tls implementation to use a single file
called tls.go (and tls_test.go) just like netxlite does.

While there write tests ensuring we always add timeouts when we are
making TCP connections (be them TLS or cleartext).

See https://github.com/ooni/probe/issues/1591
2021-09-06 16:53:28 +02:00
..
conn_test.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
conn.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(dialer): it should close idle connections (#457) 2021-09-05 19:55:28 +02:00
dialer.go refactor(dialer): it should close idle connections (#457) 2021-09-05 19:55:28 +02:00
doc.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
http_test.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
http.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
quic_test.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
quic.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
reader_test.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
reader.go refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
resolver_test.go refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
resolver.go refactor(netxlite): add more functions to resolver (#455) 2021-09-05 18:03:50 +02:00
tls_test.go fix(netxlite): http factory that propagates close-idle-connections (#465) 2021-09-06 16:53:28 +02:00
tls.go fix(netxlite): http factory that propagates close-idle-connections (#465) 2021-09-06 16:53:28 +02:00