On Saturday, November 19, 2016 at 6:21:49 PM UTC+2, James Bardin wrote: > > > Chances are that you're getting better reuse of the client connections. If > you want to ensure that you reconnect periodically use Request.Close when > you don't want the connection maintained, or call > Transport.CloseIdleConnections occasionally between requests to force the > connections to close. >
It stays there for days, so I'm not sure. And the client is supposed to be created and destroyed in a function that terminates, so I'm really surprised by that. I've reverted http.Get instead of request.Do and now I get correct SSL checks. Will check with Request.Close as well, thanks for the suggestion. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.