Comments (5)
Hello :)
That's seem odd to me because query params is kind of the only way to pass information with the websocet javascript API from browser.
https://stackoverflow.com/questions/4361173/http-headers-in-websockets-client-api
https://stackoverflow.com/a/77060459
Would you mind sharing the log of wstunnel client and server with the env variable RUST_LOG=trace
set ? So I can take a look at what the server receive.
If you are right, I can try to pass the info in the Sec-WebSocket-Protocol
header
from wstunnel.
Would you mind trying release v8.5.0 and let me know if it works better for you ? https://github.com/erebe/wstunnel/releases/tag/v8.5.0
I now pass tunnel info into Sec-WebSocket-Protocol
header
from wstunnel.
feel free to re-open if needed
from wstunnel.
@erebe I have done a little bit more digging and I am pretty sure it was just me that did not configure the cloudfront distribution properly (it does not forward query parameters by default).
So I guess whether you send it through a header or a query param should not make a difference.
Apologies for the overrun 😄
from wstunnel.
Hey no worries, and thanks for letting me know :)
In the end, I think passing the tunnel info inside the weboscket header protocol is more future-proof, as it is part of the spec ^^
Enjoy :)
from wstunnel.
Related Issues (20)
- test
- fsdfdsfdfsdf
- test HOT 1
- [Feature Request] Add Authentication Support for SOCKS Service in wstunnel Client HOT 12
- Auto-generate remote port HOT 1
- Need help to setup for android HOT 1
- Need help for android HOT 7
- Binding Apache with wstunnel server HOT 2
- Please increase version support for the Openwrt system platform in wstunnel. HOT 1
- I want to add static route in android HOT 4
- panic (core dumped) (version 9.7.3) HOT 5
- Verify the settings HOT 1
- How Add login/password support?? HOT 5
- How to use custom tls certificate private-key HOT 6
- Forward Traffic to Another HTTP Proxy HOT 8
- Forward Traffic to Another HTTP Proxy with Authentication Using wstunnel HOT 1
- Local to remote `tproxy+tcp` failed to do websocket handshake with the server HOT 5
- Under openwrt program do not run in background without nohup. HOT 1
- wstunnel::tunnel::server: error while decoding jwt for tunnel info Err(Error(InvalidToken)) header None HOT 1
- wstunnel::tunnel::server: error while decoding jwt for tunnel info Err(Error(InvalidToken)) header None HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wstunnel.