Skip to content

Commit

Permalink
WebSockets via Rocket's Upgrade connection
Browse files Browse the repository at this point in the history
This PR implements a (not yet fully released) new feature of Rocket which allows WebSockets/Upgrade connections.
No more need for multiple ports to be opened for Vaultwarden.
No explicit need for a reverse proxy to get WebSockets to work (Although I still suggest to use a reverse proxy).

- Using a git revision for Rocket, since `rocket_ws` is not yet released.
- Updated other crates as well.
- Added a connection guard to clear the WS connection from the Users list.

Fixes #685
Fixes #2917
Fixes #1424
  • Loading branch information
BlackDex committed Apr 10, 2023
1 parent 0b28ab3 commit 2382e12
Show file tree
Hide file tree
Showing 3 changed files with 344 additions and 192 deletions.
Loading

0 comments on commit 2382e12

Please sign in to comment.