Commit de970d3
committed
fix: use actual daemon URL for proxy lookup in SSH connections
Previously, SSH connections used a hardcoded dummy host 'http://docker.example.com'
for the ConnectionHelper, which meant proxy configuration had to use this dummy
URL instead of the actual daemon URL.
Now, the actual daemon URL (e.g., 'ssh://user@host.com') is used, allowing users
to configure proxies with their actual endpoint URLs in config.json.
Before:
User configures: {"proxies": {"ssh://user@host.com": {...}}} - doesn't work
Only works with: {"proxies": {"http://docker.example.com": {...}}}
After:
User configures: {"proxies": {"ssh://user@host.com": {...}}} - works!
Fixes: #7046
Signed-off-by: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 1d1562e commit de970d3
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
0 commit comments