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

Open
wants to merge 1 commit into
from

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.

@Jimbly Jimbly 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.
287580e
@jamwt
Member
jamwt commented Mar 15, 2012

Reviewing, thanks!

@Roguelazer

This would be extremely nice to have.

@Jimbly
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 in nghttp2/nghttp2 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