-
Notifications
You must be signed in to change notification settings - Fork 0
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 support for HA proxy protocol [MAB-25933] #1
Conversation
cc @celtra/devops |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am honestly impressed, this really looks nice and easy to read. Will go trough tests a bit more, but overall looks really cool
finagle-netty4/src/main/scala/com/twitter/finagle/netty4/haproxy/HAProxyProtocolHandler.scala
Show resolved
Hide resolved
finagle-netty4/src/main/scala/com/twitter/finagle/netty4/haproxy/HAProxyProtocolHandler.scala
Show resolved
Hide resolved
finagle-netty4/src/main/scala/com/twitter/finagle/netty4/haproxy/HAProxyProtocolDetector.scala
Show resolved
Hide resolved
@JureMalovrh Thanks for CR, comments and "nice words". I think I addressed your comments, so I am kindly ask you for a second look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned before, looks great. Good job
36a11ac
to
109070b
Compare
* Add local build instructions * Init proxy protocol handler * Set HA proxy info in channel context * Expose client source addr and port in request * Cleanup * Server HA proxy protocol on/off * Fix server ha proxy protocol initialization * HA proxy handler test * Avoid resolving host null to loopback address * Add HA detector and handler tests * Additional assertions * Add HA end-to-end test * init HA proxy protocol * Init HAE2E test * E2E test - check server response * Cleanup * Instructions for running tests locally * Additional comment * Add server configuration validation
This reverts commit 83405cf.
https://celtra.atlassian.net/browse/MAB-25933