hyperium / hyperium/hyper

Expose separate ipv4/ipv6 local address binding in HttpConnector

Open
#2,543 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
16.3k
Forks
1.8k
Avg merge
1d 22h
Merged PRs (30d)
14

Description

As of right now it's not possible to separately set local address for ipv4 and ipv6(only together)
It would make sense to expose those separate(say I wanna bind local address just for ipv4 or just for ipv6)

consider modifying
https://github.com/hyperium/hyper/blob/e79d09396da955f235c267832312543d8230d867/src/client/connect/http.rs#L171
https://github.com/hyperium/hyper/blob/e79d09396da955f235c267832312543d8230d867/src/client/connect/http.rs#L187

Contributor guide

Open the contributing guide

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

Read src/client/connect/http.rs around the referenced lines 171 and 187 first, focusing on how the current local address is applied to IPv4 and IPv6 connections. Done means HttpConnector can configure separate local addresses for IPv4 and IPv6, including configuring only one address family; the issue does not name a test file to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.