[GH-ISSUE #118] Vestigal support for UNIX sockets? #68

Open
opened 2026-05-05 10:59:37 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @RoganDawes on GitHub (Oct 16, 2020).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/118

It seems that there was a plan to support UNIX sockets at some point, since there is a definition in proto/controlmsg.go. Unfortunately, there is no support in the client (it reports "invalid protocol"), and if I add client support for the protocol in cmd/tunnel/config.go, I end up crashing the server binary and disconnecting all the other clients! I guess this is because there is no : in the remote_addr field, and it tries to substring from a negative index or some such.

Is there any information on how this was intended to be used? Was there ever proper support for UNIX sockets?

Originally created by @RoganDawes on GitHub (Oct 16, 2020). Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/118 It seems that there was a plan to support UNIX sockets at some point, since there is a definition in `proto/controlmsg.go`. Unfortunately, there is no support in the client (it reports "invalid protocol"), and if I add client support for the protocol in `cmd/tunnel/config.go`, I end up crashing the server binary and disconnecting all the other clients! I guess this is because there is no `:` in the `remote_addr` field, and it tries to substring from a negative index or some such. Is there any information on how this was intended to be used? Was there ever proper support for UNIX sockets?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/go-http-tunnel#68
No description provided.