mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Updated wininet-handle-403-error patchset
This commit is contained in:
parent
aae6c7b961
commit
8a2658a2ce
@ -4213,10 +4213,11 @@ fi
|
||||
# | * [#47505] Stop LevelHead disconnection on startup.
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/wininet/http.c, dlls/wininet/tests/http.c
|
||||
# | * dlls/wininet/http.c, dlls/wininet/internet.h, dlls/wininet/tests/http.c
|
||||
# |
|
||||
if test "$enable_wininet_handle_403_error" -eq 1; then
|
||||
patch_apply wininet-handle-403-error/0001-wininet-Set-context-length-for-http-status-403.patch
|
||||
patch_apply wininet-handle-403-error/0002-wininet-Allow-up-to-4K-for-data-buffers.patch
|
||||
fi
|
||||
|
||||
# Patchset winmm-mciSendCommandA
|
||||
|
@ -0,0 +1,27 @@
|
||||
From 3df5bdd129bc76c94567eb36a3e2cb870b023422 Mon Sep 17 00:00:00 2001
|
||||
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
||||
Date: Thu, 23 Sep 2021 10:36:06 +1000
|
||||
Subject: [PATCH] wininet: Allow up to 4K for data buffers
|
||||
|
||||
LevelHead includes a Header value, that is > 3K in length which
|
||||
causes a crash after linking your account.
|
||||
---
|
||||
dlls/wininet/internet.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/wininet/internet.h b/dlls/wininet/internet.h
|
||||
index e9d68e2c2d9..8538699811c 100644
|
||||
--- a/dlls/wininet/internet.h
|
||||
+++ b/dlls/wininet/internet.h
|
||||
@@ -462,7 +462,7 @@ void free_authorization_cache(void) DECLSPEC_HIDDEN;
|
||||
|
||||
void init_winsock(void) DECLSPEC_HIDDEN;
|
||||
|
||||
-#define MAX_REPLY_LEN 0x5B4
|
||||
+#define MAX_REPLY_LEN 0x1000
|
||||
|
||||
/* Used for debugging - maybe need to be shared in the Wine debugging code ? */
|
||||
typedef struct
|
||||
--
|
||||
2.33.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user