haproxyadmin icon indicating copy to clipboard operation
haproxyadmin copied to clipboard

Support management/connection over TCP

Open thejpanganiban opened this issue 8 years ago • 4 comments
trafficstars

Currently, the connection is established via unix socket files. It would be nice if this library would also support connecting to HAProxy over TCP as well. :)

[EDIT]: URLs might be a good way on how to define how it connects.

hap = haproxy.HAProxy('unix:///var/run/haproxy.sock')  # via unix socket
hap = haproxy.HAProxy('tcp://127.0.0.1:1937')  # via TCP

thejpanganiban avatar Nov 23 '16 10:11 thejpanganiban

True as it could be handy in some situations. But, it will slow down the operations in environments with X haproxy processes.

unixsurfer avatar Nov 27 '16 21:11 unixsurfer

+1 for this feature.

kotso avatar Oct 17 '17 07:10 kotso

You might try this

#10

erSitzt avatar Nov 09 '17 14:11 erSitzt

Are we planning to integrate the changes related to TCP socket to master anytime soon ?

nandu506tvm avatar Jan 05 '24 09:01 nandu506tvm