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

Add support for HA proxy protocol [MAB-25933] #1

Merged
merged 19 commits into from
Nov 25, 2022
Merged

Conversation

miharugelj
Copy link

@miharugelj miharugelj commented Nov 8, 2022

@miharugelj miharugelj marked this pull request as ready for review November 22, 2022 09:43
@miharugelj miharugelj changed the title Add support for HA proxy protocol Add support for HA proxy protocol [MAB-25933] Nov 22, 2022
@miharugelj
Copy link
Author

cc @celtra/devops

Copy link

@JureMalovrh JureMalovrh left a 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

@miharugelj
Copy link
Author

@JureMalovrh Thanks for CR, comments and "nice words". I think I addressed your comments, so I am kindly ask you for a second look.

Copy link

@JureMalovrh JureMalovrh left a 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

@miharugelj miharugelj removed the request for review from moharjure November 25, 2022 09:52
@miharugelj miharugelj merged commit 17708c3 into develop Nov 25, 2022
@miharugelj miharugelj deleted the haproxy-protocol branch November 25, 2022 13:43
a-skuba pushed a commit that referenced this pull request Apr 17, 2023
* 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
miharugelj added a commit that referenced this pull request Sep 20, 2023
miharugelj added a commit that referenced this pull request Sep 21, 2023
This reverts commit 83405cf.
miharugelj added a commit that referenced this pull request Sep 22, 2023
* Build Maven packages

* Upload release to S3

* Test release #1

* Test release #2

* Revert "Test release #2"

This reverts commit 89ef309.

* Revert "Test release #1"

This reverts commit 83405cf.

* Improve README for Finagle build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants