Skip to content

Open-source Xbox-inspired desktop launcher for Xodus on Linux

TypeScript
1.4 KB
Raw Blame
[attr]generated gitlab-generated linguist-generated=true not allowed: work/clean-shared-build-v2/wine-src/.gitattributes:1
[attr]generated gitlab-generated linguist-generated=true not allowed: work/clean-shared-build-v2/wine-src/.gitattributes:1
[attr]generated gitlab-generated linguist-generated=true not allowed: work/clean-shared-build-v2/wine-src/.gitattributes:1
[attr]generated gitlab-generated linguist-generated=true not allowed: work/clean-shared-build-v2/wine-src/.gitattributes:1
diff --git a/dlls/winhttp/http2.c b/dlls/winhttp/http2.c
index 02ce6a3..48231e5 100644
--- a/dlls/winhttp/http2.c
+++ b/dlls/winhttp/http2.c
@@ -67,14 +67,10 @@ static HANDLE diag_file;
 
 static void diag_init( void )
 {
-    char path[MAX_PATH];
-    AcquireSRWLockExclusive( &diag_lock );
-    if (!diag_file)
-    {
-        if (GetEnvironmentVariableA( "XUSER_WINHTTP_BODY_LOG", path, MAX_PATH ) && *path)
-            diag_file = CreateFileA( path, GENERIC_WRITE, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL );
-    }
-    ReleaseSRWLockExclusive( &diag_lock );
+    /* Do not activate the legacy printable-run body scanner in a shared
+     * runtime. Token fragments can match its identifier-shaped whitelist.
+     * Keep transport tracing numerical; schema-aware diagnostics belong in
+     * a separately audited opt-in tool, not the distributed DLL. */
 }
 
 static void diag_emit( char *out, size_t size, size_t *pos, const char *text )