Hi Alex:
thanks for your answer, really helped me.
As you mentioned, the connection was indeed closed by the server side: in
the packages captured, the server side sent the FIN first; seems like that
python's HTTP module and nginx all close the conenction on server side
i wrote a simple http
Hi!
On Tue, Apr 10, 2018 at 06:14:46AM -0700, Sun Frank wrote:
> my question is how to reuse underlying TCP connection when doing a lot of
> frequent short HTTP requests using golang?
This happens by default: https://play.golang.org/p/XnzQoGqQlno
> they say the key is to close resp.Body
Yes, b
Hi guys:
my question is how to reuse underlying TCP connection when doing a lot of
frequent short HTTP requests using golang?
I tried things from stackoverflow and other blogs including:
https://stackoverflow.com/questions/17948827/reusing-http-connections-in-golang
https://awmanoj.github.io/te