Open twwwt opened 6 years ago
I don't know; but if you try it out then please support back. The proxy generally copies all headers on through.
Has anyone got this proxy servlet working with websockets (i use socket.io)? to my understanding it needs more than "just" pushing the hop-hop headers to the backend, i think you might need to create an actual socket tunnel? can anyone shed some light on this?
I see that akarnokd has done some work on adding proxy support see stackoverflow
i've tested this and it seems to work. could we incorporate this functionality?
As the maintainer here, mainly I want to see that what we add is tested. That's a key aspect to this proxy vs code snippets on Stackoverflow/blogs. So if you look at that and find a way to incorporate it and add tests, I'd be happy to peer review and ultimately merge.
I'm wondering whether the proxy servlet supports Web Sockets? I think the important thing is that it must not remove the headers
Upgrade: WebSocket
andConnection: Upgrade
.