Closed r-cohen closed 5 years ago
By default, the http.Client has a Timeout of 0, which means no timeout (infinite long lived connection). this is source of hang in high latency environment but also can be source of memory leaks. I suggest adding a default timeout to avoid this.
http.Client
Sounds reasonable. Thanks!
@kamilogorek thanks! have a pleasant day.
By default, the
http.Client
has a Timeout of 0, which means no timeout (infinite long lived connection). this is source of hang in high latency environment but also can be source of memory leaks. I suggest adding a default timeout to avoid this.