Skip to content
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

Support management/connection over TCP #6

Open
thejpanganiban opened this issue Nov 23, 2016 · 4 comments
Open

Support management/connection over TCP #6

thejpanganiban opened this issue Nov 23, 2016 · 4 comments

Comments

@thejpanganiban
Copy link

thejpanganiban commented Nov 23, 2016

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
@unixsurfer
Copy link
Owner

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

@kotso
Copy link

kotso commented Oct 17, 2017

+1 for this feature.

@erSitzt
Copy link

erSitzt commented Nov 9, 2017

You might try this

#10

@nandu506tvm
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants