diff options
author | Mathijs van Veluw <[email protected]> | 2024-03-17 19:52:55 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-17 19:52:55 +0100 |
commit | 34272176867af1d566bd3bc561486a4e7a492ea9 (patch) | |
tree | 28b5ef4a0c157eae979d047564e60e9cddd6460f /src/api/mod.rs | |
parent | a1fbd6d72917c0435da28b7f21c2f23aecc008b5 (diff) | |
download | vaultwarden-34272176867af1d566bd3bc561486a4e7a492ea9.tar.gz vaultwarden-34272176867af1d566bd3bc561486a4e7a492ea9.zip |
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 <[email protected]>
Diffstat (limited to 'src/api/mod.rs')
-rw-r--r-- | src/api/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/mod.rs b/src/api/mod.rs index 99915bdf..c6838aaa 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -23,7 +23,7 @@ pub use crate::api::{ icons::routes as icons_routes, identity::routes as identity_routes, notifications::routes as notifications_routes, - notifications::{start_notification_server, AnonymousNotify, Notify, UpdateType, WS_ANONYMOUS_SUBSCRIPTIONS}, + notifications::{AnonymousNotify, Notify, UpdateType, WS_ANONYMOUS_SUBSCRIPTIONS, WS_USERS}, push::{ push_cipher_update, push_folder_update, push_logout, push_send_update, push_user_update, register_push_device, unregister_push_device, |