stud icon indicating copy to clipboard operation
stud copied to clipboard

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

Open Jimbly opened this issue 13 years ago • 3 comments

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 avatar Mar 12 '12 22:03 Jimbly

Reviewing, thanks!

jamwt avatar Mar 15 '12 08:03 jamwt

This would be extremely nice to have.

Roguelazer avatar Apr 18 '12 19:04 Roguelazer

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 avatar Aug 13 '12 21:08 Jimbly