Just reuse the created http.Client.
--
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://grou
Hi, i have memory leaks cause http Transport dies too slowly. I'v creating
Transports for checking proxy every 2 minute, so new Transports creates
faster that old dies.
Here i'm checking
func checkProxySOCKS(prox string, c chan QR, wg *sync.WaitGroup) (err error)
{
defer wg.Done()
di