Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
FEAT: jibri queue clear asap cache for token util on config reload
Aaron van Meerten82b140845442
diff --git a/resources/prosody-plugins/mod_jibri_queue_component.lua b/resources/prosody-plugins/mod_jibri_queue_component.luaindex 2cb3deda23..057bed37e1 100644--- a/resources/prosody-plugins/mod_jibri_queue_component.lua+++ b/resources/prosody-plugins/mod_jibri_queue_component.lua@@ -142,6 +142,9 @@ local function reload_config()module:log("info", "Reloading configuration for jibri queue component");local config_success = load_config();+ -- clear ASAP public key cache on config reload+ token_util:clear_asap_cache();+if not config_success thenlog("error", "Unsuccessful reconfiguration, jibri queue component may misbehave");end@@ -485,7 +488,7 @@ function handle_update_jibri_queue(event)local prefixStart, prefixEnd = token:find("Bearer ");if prefixStart ~= 1 thenmodule:log("error", "REST event: Invalid authorization header format. The header must start with the string 'Bearer '");- return 403+ return { status_code = 403; };endtoken = token:sub(prefixEnd + 1);end