mirror of
https://github.com/djdevin/recnet-plugin.git
synced 2026-09-09 07:01:29 -07:00
unstable patch for 202312+
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "common.h"
|
||||
|
||||
// Installs the HTTP-layer host rewrite: hooks BestHTTP.HTTPManager.SendRequest(HTTPRequest) and
|
||||
// rewrites the request's Uri (ns.rec.net -> ns.recflare.net) so the URL, TLS SNI and Host header all
|
||||
// carry the target host -- a genuine request to the alternate backend, not just a redirected IP.
|
||||
// Waits for the il2cpp runtime; safe to call on its own thread. No-op if no rewrite pairs configured.
|
||||
void PatchHttpHostRewrite(void);
|
||||
Reference in New Issue
Block a user