Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3342574
D6747.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
647 B
Referenced Files
None
Subscribers
None
D6747.diff
View Options
diff --git a/services/tunnelbroker/src/libcpp/Tunnelbroker.cpp b/services/tunnelbroker/src/libcpp/Tunnelbroker.cpp
--- a/services/tunnelbroker/src/libcpp/Tunnelbroker.cpp
+++ b/services/tunnelbroker/src/libcpp/Tunnelbroker.cpp
@@ -170,6 +170,11 @@
}
void updateSessionItemIsOnline(rust::Str sessionID, bool isOnline) {
+ if (comm::network::config::ConfigManager::getInstance().isParameterSet(
+ comm::network::config::ConfigManager::
+ OPTION_SESSIONS_SKIP_AUTH_KEY)) {
+ return;
+ }
comm::network::database::DatabaseManager::getInstance()
.updateSessionItemIsOnline(std::string{sessionID}, isOnline);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 1:41 AM (13 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2567165
Default Alt Text
D6747.diff (647 B)
Attached To
Mode
D6747: [services] Tunnelbroker - Disabling updating session state when session authentication is skipped
Attached
Detach File
Event Timeline
Log In to Comment