Skip to content
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

First draft at implementing websocket proxy #107

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

Conversation

mildred
Copy link
Contributor

@mildred mildred commented Jun 26, 2019

This is a first draft that implements websocket proxying. I'm not sure it works very well, but it's a first try.

In particular allow request with credentials which are not allowed when
only "Access-Control-Allow-Origin: *" is specified. Custom response
headers must be crafted for each request depending on the Origin request
header.

Also, enable preflight responses to Access-Control-Request-Headers.
git-subtree-dir: websocketproxy
git-subtree-split: 7ed82d81a28c9ba1ed6fd1157ce714760f214c98
First implementation of a websocket proxy
@cortesi
Copy link
Owner

cortesi commented Aug 15, 2019

This looks like a promising direction. Are you still hacking on it?

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

Successfully merging this pull request may close these issues.

None yet

2 participants