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

Projects
None yet
3 participants
@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.

Added --read-proxy option to require reading the HAProxy protocol line.
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

This comment has been minimized.

Show comment
Hide comment
@jamwt

jamwt Mar 15, 2012

Member

Reviewing, thanks!

Member

jamwt commented Mar 15, 2012

Reviewing, thanks!

@Roguelazer

This comment has been minimized.

Show comment
Hide comment
@Roguelazer

Roguelazer Apr 18, 2012

This would be extremely nice to have.

Roguelazer commented Apr 18, 2012

This would be extremely nice to have.

@Jimbly

This comment has been minimized.

Show comment
Hide comment
@Jimbly

Jimbly 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).

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).

@nutinshell nutinshell referenced this pull request Sep 6, 2015

Closed

Work with HAProxy #343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment