Will GC close unused connection ? In a particular case, I found that if there's a connection won't be used for a while, it will be closed. If I disable GC, then the connection will not be closed. In the test, I never call the close function manually. But this is a bit hard to reproduce. GC will close unused tcp connection, is my assumption right?
-- 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.