vaultwarden/src
Mathijs van Veluw 3427217686
Remove custom WebSocket code (#4001)
* Remove custom WebSocket code

Remove our custom WebSocket code and only use the Rocket code.
Removed all options in regards to WebSockets
Added a new option `WEBSOCKET_DISABLED` which defaults too `false`.
This can be used to disable WebSockets if you really do not want to use it.

* Addressed remarks given and some updates

- Addressed comments given during review
- Updated crates, including Rocket to the latest merged v0.5 changes
- Removed an extra header which should not be sent for websocket connections

* Updated suggestions and crates

- Addressed the suggestions
- Updated Rocket to latest rc4
  Also made the needed code changes
- Updated all other crates
  Pinned `openssl` and `openssl-sys`

---------

Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2024-03-17 19:52:55 +01:00
..
api Remove custom WebSocket code (#4001) 2024-03-17 19:52:55 +01:00
db Improve JWT key initialization and avoid saving public key (#4085) 2024-03-17 15:11:20 +01:00
static Update crates, GHA and a Python/JS scripts (#4357) 2024-02-25 23:26:46 +01:00
auth.rs Improve JWT key initialization and avoid saving public key (#4085) 2024-03-17 15:11:20 +01:00
config.rs Remove custom WebSocket code (#4001) 2024-03-17 19:52:55 +01:00
crypto.rs Remove get_random_64() 2022-11-13 10:03:06 +01:00
error.rs Remove custom WebSocket code (#4001) 2024-03-17 19:52:55 +01:00
mail.rs Add Protected Actions Check (#4067) 2023-11-12 22:15:44 +01:00
main.rs Remove custom WebSocket code (#4001) 2024-03-17 19:52:55 +01:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Improve JWT key initialization and avoid saving public key (#4085) 2024-03-17 15:11:20 +01:00