On Fri, Nov 13, 2015 at 9:33 PM, Albert Tedja wrote:
net/http's Response does not seem to be automatically garbage collected.
https://golang.org/pkg/net/http/
net/http's Response does not seem to be automatically garbage collected.
https://golang.org/pkg/net/http/
The client must close the response body when finished with it:
Is there any other in Go's packages where we have to be aware of this?is garbage collected. It's just that in order to reuse HTTP
connections the net/http package needs to know when you are done with
the previous response.
Any place where you need to be aware of this sort of thing is documented.
Ian
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.