mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-29 15:10:37 +00:00
Request: Fix http.Client race issue when setting transport layer proxy and timeouts (#885)
* backtester/request: trying to fix panic (WIP) * request: fix race for transport layer * request: linter issue fix * request: more linter issues * requester: Add function to remove the tracking of underlying http client and add to engine unload exchange. * request: add more context to error return * request: Fix after cherry pick issues * request: fix niterinos * exchanges: change return to package variable * request: changed named Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io>
This commit is contained in:
@@ -198,11 +198,12 @@ func (c *CustomEx) WithdrawFiatFundsToInternationalBank(ctx context.Context, wit
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (c *CustomEx) SetHTTPClientUserAgent(ua string) {
|
||||
func (c *CustomEx) SetHTTPClientUserAgent(ua string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *CustomEx) GetHTTPClientUserAgent() string {
|
||||
return ""
|
||||
func (c *CustomEx) GetHTTPClientUserAgent() (string, error) {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
func (c *CustomEx) SetClientProxyAddress(addr string) error {
|
||||
|
||||
Reference in New Issue
Block a user