Closed andrejlevkovitch closed 3 years ago
The library supports it for the lower level connection
and stream
apis, but not for the high level request
object. The hard bit is knowing if an existing connection is suitable for a new request (need to check dns, certificates, any SSL settings, http version selection, etc. its quite a long list)
http.request
create new connection every callgo
method and close stream. So there is a way to reuse connection several times bykeep-alive
?