-
- Downloads
Turbo Tunnel client and server.
The client opts into turbotunnel mode by sending a magic token at the beginning of each WebSocket connection (before sending even the ClientID). The token is just a random byte string I generated. The server peeks at the token and, if it matches, uses turbotunnel mode. Otherwise, it unreads the token and continues in the old one-session-per-WebSocket mode.
Showing
- client/lib/snowflake.go 80 additions, 20 deletionsclient/lib/snowflake.go
- client/lib/turbotunnel.go 68 additions, 0 deletionsclient/lib/turbotunnel.go
- common/turbotunnel/consts.go 4 additions, 0 deletionscommon/turbotunnel/consts.go
- go.mod 2 additions, 2 deletionsgo.mod
- go.sum 20 additions, 1 deletiongo.sum
- server/server.go 225 additions, 6 deletionsserver/server.go
Loading
Please register or sign in to comment