Because the defaultTimeout is defined as a constant you do not need to multiply it by time.Second again otherwise you end up with some stupid timeout as seen here. https://play.golang.org/p/Dl7rU_n_8Ej |
||
---|---|---|
.. | ||
https_proxy.go | ||
https_upstream.go | ||
metrics.go | ||
tunnel.go |