Files
WoW-Hybrid-gateway/patches/forever-loopback-srp-shape.patch
praxisandClaude Fable 5.2 8a24c445b0 Content pipeline and operator tools
367 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:48 +02:00

14 lines
719 B
Diff

--- a/src/server/bnetserver/REST/LoginRESTService.cpp
+++ b/src/server/bnetserver/REST/LoginRESTService.cpp
@@ -741,6 +741,10 @@
context.response.set(boost::beast::http::field::content_type, "application/json;charset=utf-8");
context.response.body() = ::JSON::Serialize(challenge);
+ // 70334 requires this field in addition to the complete SRP parameters.
+ // Local opt-in keeps the original credential-proof verification unchanged.
+ if (sConfigMgr->GetBoolDefault("Gateway.LocalSrpCompatibility", false) && session->GetRemoteIpAddress().is_loopback())
+ context.response.body().insert(1, "\"use_srp\":true,");
session->SendResponse(context);
}));