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

Added --read-proxy option to require reading the HAProxy protocol line. #81

Open
wants to merge 1 commit into
base: master
from

Conversation

@Jimbly
Copy link

Jimbly commented Mar 12, 2012

The read address is then passed to the backend server if --write-proxy or --write-ip is specified.
This can be useful if you use HAProxy as your load balancer (in TCP mode) and run stud distributed on each of your servers and want the original client IP address.

The read address is then passed to the backend server if --write-proxy or --write-ip is specified.
This can be useful if you use HAProxy as your load balancer (in TCP mode) and run stud distributed on each of your servers and want the original client IP address.
@jamwt
Copy link
Member

jamwt commented Mar 15, 2012

Reviewing, thanks!

@Roguelazer
Copy link

Roguelazer commented Apr 18, 2012

This would be extremely nice to have.

@Jimbly
Copy link
Author

Jimbly commented Aug 13, 2012

Though it doesn't work with --write-ip and some other features, the recently merged --proxy-proxy looks like it provides the functionality that I wrote this modification to provide (passing the proxy data from HAProxy to the back-end), so anyone who was waiting for this can probably just use --proxy-proxy instead (depending on what exactly their back-end is).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.