-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
LibCore: Socket takeover delimiter is too limiting #16436
Labels
Comments
ah, the old 'spaces break 90% of path handling code' issue. |
But we use |
trflynn89
pushed a commit
that referenced
this issue
Dec 15, 2022
This allow to use socket path with spaces inside. Closes #16436.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently allow processes to pass multiple socket paths in the SOCKET_TAKEOVER environment variable. The logic for pulling either a specific socket or the first socket uses
' '
as the delimiter between different sockets.We ran into this with SQLServer on macOS, where the initial approach set the socket "name" as the path to the socket.
SOCKET_TAKEOVER=/path/to/socket:<socket_fd_number>
This works great until the path has a space in it, like
/Users/me/Library/Application Support/SQLServer.socket
.A more robust delimiter between different socket name/fd pairs would probably be better, such as
;
.The text was updated successfully, but these errors were encountered: