-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add PROXY protocol line support #35
Comments
I was looking into this the other day. It seems that it's non-trivial to make Vulcan to accept PROXY line, because the I think there are only two ways to implement PROXY protocol with
Method 1 requires more work and introduces maintenance work if it's not merged into |
Similar to how for ListenAndServeTLS to work with Server Name Indication, I think it might be possible to make our own ListenAndServe? See this example Code: https://groups.google.com/d/msg/golang-nuts/rUm2iYTdrU4/PaEBya4dzvoJ |
@pquerna Please correct me if I'm wrong: did you mean we make a listener (like I was thinking about making a drop-in replacement for |
Here's a drop-in alternative to |
For these reasons Vulcan should support the PROXY protocol line.
Library for doing this is here:
https://github.com/racker/go-proxy-protocol
cc @songgao
The text was updated successfully, but these errors were encountered: