From 358ca97b8875b020f145fe02f692251374424efa Mon Sep 17 00:00:00 2001 From: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz> Date: Sat, 29 Aug 2026 08:06:47 +1000 Subject: [PATCH] fix(mesh): reject unsuccessful NIP-11 responses Require a successful HTTP status before accepting supported_nips as relay-mode evidence. Cover a valid-shaped open body returned with 503 so an HTTP failure cannot disable admission. Co-authored-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz> Signed-off-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz> --- desktop/src-tauri/src/commands/mesh_llm.rs | 2 ++ .../src-tauri/src/commands/mesh_llm_tests.rs | 32 +++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/desktop/src-tauri/src/commands/mesh_llm.rs b/desktop/src-tauri/src/commands/mesh_llm.rs index 447a798ad6..1b7620dcf9 100644 --- a/desktop/src-tauri/src/commands/mesh_llm.rs +++ b/desktop/src-tauri/src/commands/mesh_llm.rs @@ -197,6 +197,8 @@ async fn probe_relay_mesh_mode(relay_url: &str) -> Result