mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #221] [MERGED] Disable WebSockets negotiation by default #2673
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2673
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/221
Author: @mprasil
Created: 10/14/2018
Status: ✅ Merged
Merged: 10/15/2018
Merged by: @dani-garcia
Base:
master← Head:ws_disable📝 Commits (2)
9ecc98cDisable WebSockets negotiation by default2e7fa64Do not spawn WS thread if it's disabled📊 Changes
3 files changed (+31 additions, -12 deletions)
View changed files
📝
README.md(+12 -1)📝
src/api/notifications.rs(+17 -11)📝
src/main.rs(+2 -0)📄 Description
This let's users enable WebSockets by setting the
WEBSOCKET_ENABLEDvariable totrue. The reason why I suggest to have this off by default is that for users that won't do that extra proxy configuration this causes issues like the one observed in #203 - essentially breaking the organization functionality in unpredictable way.Users using WebSockets need to do some extra configuration anyways and while this change will break their configuration, it will not break the core functionality, just the WebSockets won't be used until they turn it back on.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.