-
Notifications
You must be signed in to change notification settings - Fork 87
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
Proxy protocol support #121
Comments
It's probably possible, but it's not obvious to me that these crates are the place to add it? Why couldn't it be a wrapper around a tokio-rustls (or tokio-native-tls) stream? |
Good question. I was assuming as much because I see a |
Ahh, okay, that makes sense. I'm still not very familiar with the proxy protocol and unlikely to have much time to learn it. @hawkw do you have experience with it? In any case, I think it couldn't hurt to write some code for protocol support and then figure out how best to incorporate/publish it on crates.io. |
I will do some experimentation as well. |
We run some services behind Haproxy and Nginx which use proxy protocol to preserve the clients ip address. It would be really nice if we could do this using Tokio directly too. Is it possible to do this somehow? If not this is something I'd be interested in help figure out or write.
The text was updated successfully, but these errors were encountered: