Open
Description
Is your feature request related to a problem? Please describe.
By default hyper will try to get the HttpInfo
for each Response even if they are not needed in most cases. The bottom line is that getpeername
and getsockname
are actually very slow and they can become a performance bottleneck when making a lot of requests
Describe the solution you'd like
Just provide an API like client::Builder::set_host