http-rs / surf

Fast and friendly HTTP client framework for async Rust
https://docs.rs/surf
Apache License 2.0
1.45k stars 119 forks source link

feat: globally share h1 client #294

Closed Fishrock123 closed 3 years ago

Fishrock123 commented 3 years ago

This actually takes advantage of the new connection pooling in the async-h1 client.

This is a draft because it runs us into bugs in the connection pooling, observable in the tests: https://github.com/http-rs/http-client/issues/75