-
Notifications
You must be signed in to change notification settings - Fork 51
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
Fix OS specific url handling for unix:// scheme in transport #373
Conversation
4073f3c
to
c963f2c
Compare
@cfergeau could you review this fix? It makes behavior consistent between different sockets (ssh forwarder and vlan transport) of the same scheme |
I will check win-sshproxy-tests. All passed locally
|
It's flakey/racy, sometimes it needs to be run a few times in ghactions until it passes :-/ |
And the wikipedia failure in Go/tests will be fixed as part of #370 |
Hopefully there are no Windows users who rely on |
Apart from this, |
This adds handling for "unix://" scheme under Windows with absolute paths (containing drive letter). This replicates the behavior from `ssh_forwarder.go` (pkg/sshclient/ssh_forwarder.go#L114). Test command: gvproxy.exe -debug -listen-qemu unix:///C:/Users/User/AppData/Local/Temp/podman/gvproxy.sock Signed-off-by: Arthur Sengileyev <[email protected]>
c963f2c
to
ae9b91a
Compare
Forced pushed with updated commit message.
AFAIK there are no users (it used to work with QEMU machine setup, but was never a supported option advertised). I plan to submit issue and PR for exposing Podman API via unix:// socket on Windows for Hyper-V machine (so, one could potentially use automation via shell script + curl tool), but this is only on a concept level right now. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arixmkii, cfergeau The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
2b36bdd
into
containers:main
Fixes #371
Replaces #372
Details why it changed in #371 (comment)
This adds handling for
unix://
scheme under Windows with absolute path (containing drive letter). This replicates the one from ssh_forwarder (gvisor-tap-vsock/pkg/sshclient/ssh_forwarder.go
Line 114 in 6dbbe08
Test command: