[PATCH 0/1] MR11039: winhttp: Revert recursion limit to 3.
From: Hans Leidekker <hans@codeweavers.com> This reverts 98caae351f41ca16f01f272b1ce3131784c48dec. Tests show that Windows 10 can reach a recursion count of 5 but it's not constistent. Fixes a hang in Death Stranding Director's Cut. --- dlls/winhttp/request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c index b1f13eafbb5..64452f99727 100644 --- a/dlls/winhttp/request.c +++ b/dlls/winhttp/request.c @@ -3347,7 +3347,7 @@ BOOL WINAPI WinHttpReceiveResponse( HINTERNET hrequest, LPVOID reserved ) return !ret; } -#define RECURSION_LIMIT 5 +#define RECURSION_LIMIT 3 static BOOL skip_async_queue( struct request *request, BOOL *wont_block, DWORD to_read ) { to_read = min( to_read, request->content_length - request->content_read ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11039
participants (2)
-
Hans Leidekker -
Hans Leidekker (@hans)