refactor(oohelper): use netxlite rather than netx (#805)
The oohelper does not need to use netx and it's enough to use netxlite, hence let us apply this refactor. The original code used DoT but the explanatory comment said we were using DoT because of unclear issues inside GitHub actions. We are now using DoH and this is fine as well. The comment implied that any encrypted transport would do. See https://github.com/ooni/probe/issues/2121
This commit is contained in:
parent
4cf58380c3
commit
87d35f4225
3 changed files with 16 additions and 18 deletions
|
|
@ -45,7 +45,7 @@ type Resolver interface {
|
|||
// OOClient is a client for the OONI Web Connectivity test helper.
|
||||
type OOClient struct {
|
||||
// HTTPClient is the HTTP client to use.
|
||||
HTTPClient *http.Client
|
||||
HTTPClient model.HTTPClient
|
||||
|
||||
// Resolver is the resolver to user.
|
||||
Resolver Resolver
|
||||
|
|
|
|||
Loading…
Reference in a new issue