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

Use -localapi_socket arg for the local API socket path #15

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

antifuchs
Copy link
Contributor

There was some severely confusing thing going on with -localapi_socket before, where it would default to the public API hostname, but then if you passed a different socket pathname as a cmdline parameter, it wouldn't connect to that.

This change straightens out the strings (defaulting to the reasonable default path for the local API socket, passing a value to the UNIX domain socket dialer if passed).

There was some severely confusing thing going on with -localapi_socket
before, where it would default to the public API hostname, but then if
you passed a different socket pathname as a cmdline parameter, it
wouldn't connect to that.

This change straightens out the strings (defaulting to the reasonable
default path for the local API socket, passing a value to the UNIX
domain socket dialer if passed).
Copy link
Owner

@cfunkhouser cfunkhouser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thank you!

@cfunkhouser cfunkhouser merged commit b614615 into cfunkhouser:main Mar 31, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants