Skip to content

Commit

Permalink
Merge pull request gonetx#28 from cooolinx/main
Browse files Browse the repository at this point in the history
fix(httpit): Make --socksProxy usable
  • Loading branch information
kiyonlin authored Jul 31, 2021
2 parents eaceb0e + 7f1ae96 commit 554e3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pit/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (c *Config) getDialer() fasthttp.DialFunc {
return fasthttpHttpProxyDialer(&c.throughput, c.HttpProxy, c.Timeout)
}
if c.SocksProxy != "" {
return fasthttpSocksProxyDialer(&c.throughput, c.HttpProxy)
return fasthttpSocksProxyDialer(&c.throughput, c.SocksProxy)
}

return fasthttpDialer(&c.throughput, c.Timeout)
Expand Down

0 comments on commit 554e3b8

Please sign in to comment.