rustls / rustls/hyper-rustls

Allow creating HttpsConnector with executor

Open
#55 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.