This is what I did, and see no change in behavior.
for i := 0; i < 10; i++ {
response, err :=client.Get("https://foo.com")
if err!= nil{
panic(err)
}
ioutil.ReadAll(response.Body)
response.Body.Close()
}
The network trace shows a SYN, SYN-ACK, ACK at the beginning of each HTTP
GET, and a FIN-ACK followed by some RST packets (those RSTs are common for
the foo.com in this case).
I do know that foo.com honors keepalives because it's readily apparent when
I use *ab *to test.
Also, I did upgrade to go 1.14.2 and nothing changed.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/c8c85f57-f920-4426-890c-1ae2669726a6%40googlegroups.com.