Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jimbly
Copy link

@Jimbly 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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants