You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
net/http doesn't immediately close the connection if the transport DisableKeepAlives no set true.
if you want to reuse the connection, must keep the same transport object, because golang put idle connection in the transport object.
The text was updated successfully, but these errors were encountered:
mreiferson
changed the title
a lot unclosed http client , when set small LookupdPollInterval
consumer: re-use http client or disable keep alives
Feb 4, 2016
apiRequestNegotiateV1:
newDeadlineTransport:
net/http doesn't immediately close the connection if the transport DisableKeepAlives no set true.
if you want to reuse the connection, must keep the same transport object, because golang put idle connection in the transport object.
The text was updated successfully, but these errors were encountered: