Allow creating HttpsConnector with executor
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 361
- Forks
- 165
- Avg merge
- 17h 34m
- Merged PRs (30d)
- 5
Description
The hyper::client::HttpConnector that HttpsConnector uses under the hood has a new_with_executor() constructor. This is very useful for performance if the application already has an existing threadpool, allowing it to be reused instead of having the connector create one of its own, which as far as I can tell, is unfortunately hard-coded to only 4 threads. This constructor should really be exposed to ensure feature parity with hyper.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the HttpsConnector constructor and the underlying hyper::client::HttpConnector integration. Compare the available API with hyper's new_with_executor() constructor and determine how the executor should be exposed. Done means an HttpsConnector can reuse an existing executor with behavior matching the requested hyper feature.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100