fix: contain malformed metadata and stale discovery

This commit is contained in:
2026-08-20 01:44:23 +00:00
parent 3b5e2acb75
commit 7d484a3998
10 changed files with 276 additions and 13 deletions
+4 -1
View File
@@ -118,7 +118,10 @@ function startBridgeServer() {
const handler = createBridgeHandler({
bridgeAuth: pairingController.bridgeAuth,
sessionStore: runtime.sessionStore,
onConnectionStateChanged: sendConnectionState,
onConnectionStateChanged: () => {
runtime.onSessionChanged();
sendConnectionState();
},
});
bridgeServer = http.createServer((request, response) => {
handler(request, response).catch(() => {