Closed alexcrichton closed 5 years ago
For some background on this, I've been debugging why a curl
upgrade in Cargo recently caused issues where connections to crates.io were not being reused. Turns out this block wasn't run, never setting ip_addr_str
, causing this to always be run.
Looks like this enables a few optimizations internally, such as reusing connections! Let's be sure to enable this for our platforms, which should all have this, so we can get those performance optimizations with HTTP.