Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom dialing function for rafthttp transport #18006

Open
ArielSzekely opened this issue May 14, 2024 · 0 comments
Open

Custom dialing function for rafthttp transport #18006

ArielSzekely opened this issue May 14, 2024 · 0 comments
Labels
area/raft priority/backlog Higher priority than priority/awaiting-more-evidence. type/feature

Comments

@ArielSzekely
Copy link

What would you like to be added?

Hello!

Is there any chance that a custom dialing function could be added to the rafthttp transport API, to enable users of the raft modules to supply their own dialing code (without having to re-implement the whole transport interface)?

Thank you!

Why is this needed?

I am working on a project which disables some Linux syscalls (like socket and connect) and instead establishes network connections via a proxy. I would like to still be able to use the raft modules, but supply my own dialing implementation to enable the raft module to use my proxy when dialing.

I've implemented this in a fork of the repo, but I am not sure what the best/most stylistically appropriate way of doing this is.

@jmhbnz jmhbnz added area/raft priority/backlog Higher priority than priority/awaiting-more-evidence. labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/raft priority/backlog Higher priority than priority/awaiting-more-evidence. type/feature
Development

No branches or pull requests

2 participants