cleanup(netx): remove unused proxy-via-context codepath (#367)
We always set the proxy explicitly now. So, let us remove this extra bit of code we're not using. Part of https://github.com/ooni/probe/issues/1507.
This commit is contained in:
parent
8ad17775fa
commit
b8cae3f5a6
5 changed files with 1 additions and 73 deletions
|
|
@ -95,7 +95,6 @@ func NewClient(sess Session, endpoint model.Service) (*Client, error) {
|
|||
BaseURL: endpoint.Address,
|
||||
HTTPClient: sess.DefaultHTTPClient(),
|
||||
Logger: sess.Logger(),
|
||||
ProxyURL: sess.ProxyURL(),
|
||||
UserAgent: sess.UserAgent(),
|
||||
},
|
||||
LoginCalls: &atomicx.Int64{},
|
||||
|
|
|
|||
Loading…
Reference in a new issue