Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Proxy websockets #901

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Proxy websockets #901

wants to merge 2 commits into from

Conversation

pft
Copy link

@pft pft commented Oct 15, 2024

Proxy websockets when --websocket is given.

Relevant issues

Fixes issue #142

I took the PR from @fabioimpe at #528, removed style changes (and made sure not to add any of my own), and removed the changes to the changeOrigin parameter.

And of course, I tested whether it worked, which it does.

@KernelDeimos
Copy link
Contributor

Is there any way to test this? This should have tests before I merge it, if a unit test for this is complex I'll do a manual test later.

@pft
Copy link
Author

pft commented Oct 17, 2024

Well, it relies on another server working with websockets. A unit test could be done, but would require quite a bit of work.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants