The current version of bomber does not work in environments that require a proxy to access the internet.
Instead of using a bare http.Transport with the modified tls timeout, I use a clone http.DefaultTransport with the modified TLSHandshakeTimeout.
func init() {
// Cloning the transport ensures a proper working http client that respects the proxy settings
transport := http.DefaultTransport.(*http.Transport).Clone()
transport.TLSHandshakeTimeout = 60 * time.Second
client = resty.New().SetTransport(transport)
}
The current version of bomber does not work in environments that require a proxy to access the internet. Instead of using a bare http.Transport with the modified tls timeout, I use a clone http.DefaultTransport with the modified TLSHandshakeTimeout.