mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 14:16:17 -06:00
[GH-ISSUE #14] Add WebSockets proxy #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/go-http-tunnel#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mmatczuk on GitHub (Feb 21, 2017).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/14
If you think this is needed vote by adding 👍 thanks!
@jenskastensson commented on GitHub (Nov 22, 2017):
(Y)
@hugows commented on GitHub (Nov 23, 2017):
@jenskastensson you have to click the smiley icon on the original comment by mmatczuk
@dyu commented on GitHub (Feb 27, 2018):
I just tried this with the tcp protocol and it works. Any foreseeable problems with this approach?
The other project that has native websockets proxy is frp and it works as well from my tests.
@afiz commented on GitHub (Apr 29, 2018):
Any idea when the websocket can be supported? I test it just now, still not going through.
Dear dyu, i also tested 'frp', and websocket is working. But is it secured? I don't see any TLS words at its websites
@david81 commented on GitHub (Nov 6, 2018):
Another vote for WSS support. Would love to use this for remote access to a Home Assistant instance
@AkeemMcLennon commented on GitHub (Mar 23, 2019):
@mmatczuk
httputil.ReverseProxywas updated in Go 1.12 to support websockets automatically. Theoretically you might be able to close this ticket for free by recompiling against go1.12. See https://github.com/golang/go/issues/26937I haven't had a chance to test against your project in particular, but I've had success with other code that "just works" after upgrading. I stumbled across both github issues while doing some research, so I thought it might be useful to let you know.
@Grabber commented on GitHub (Apr 14, 2019):
@mmatczuk and @AkeemMcLennon
go version go1.12.4 linux/amd64
https://stackoverflow.com/questions/27075478/when-to-use-hijack-in-golang
@Grabber commented on GitHub (Apr 15, 2019):
Over a tcp tunnel, websocket is working with go 1.12.4
@uri commented on GitHub (May 29, 2020):
@Grabber can you elaborate on what you did?
@hons82 commented on GitHub (Mar 26, 2021):
I'd still be interested in this feature.... Can anybody out there give me a hint on how that could be implemented? Or point me to a source to "copy"?
fyi #32763