You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
wininet-HTTPREQ_ReadFile_Async: Update patchset and add initial tests.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 5049ef6fb20ab57cfe18209df3deee1bf1c5d069 Mon Sep 17 00:00:00 2001
|
||||
From 284cf431a6dc5ba77356c0103098f4009cb498eb Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Fri, 15 May 2015 21:18:37 +0200
|
||||
Subject: wininet/tests: Test auth credential reusage with host override.
|
||||
@@ -8,12 +8,12 @@ Subject: wininet/tests: Test auth credential reusage with host override.
|
||||
1 file changed, 92 insertions(+)
|
||||
|
||||
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
|
||||
index 559ab3e..29abb2f 100644
|
||||
index 16773e6..a6e860b 100644
|
||||
--- a/dlls/wininet/tests/http.c
|
||||
+++ b/dlls/wininet/tests/http.c
|
||||
@@ -2394,6 +2394,20 @@ static DWORD CALLBACK server_thread(LPVOID param)
|
||||
else
|
||||
send(c, notokmsg, sizeof notokmsg-1, 0);
|
||||
@@ -2401,6 +2401,20 @@ static DWORD CALLBACK server_thread(LPVOID param)
|
||||
WaitForSingleObject(conn_wait_event, INFINITE);
|
||||
send(c, page1_mid, page1_end - page1_mid, 0);
|
||||
}
|
||||
+ if (strstr(buffer, "HEAD /test_auth_host1"))
|
||||
+ {
|
||||
@@ -32,7 +32,7 @@ index 559ab3e..29abb2f 100644
|
||||
shutdown(c, 2);
|
||||
closesocket(c);
|
||||
c = -1;
|
||||
@@ -3086,6 +3100,84 @@ static void test_header_override(int port)
|
||||
@@ -3112,6 +3126,84 @@ static void test_header_override(int port)
|
||||
InternetCloseHandle(req);
|
||||
InternetCloseHandle(con);
|
||||
InternetCloseHandle(ses);
|
||||
@@ -118,5 +118,5 @@ index 559ab3e..29abb2f 100644
|
||||
|
||||
static void test_http1_1(int port)
|
||||
--
|
||||
2.4.3
|
||||
2.8.0
|
||||
|
||||
|
@@ -1 +1,2 @@
|
||||
# Fixes: [28911] Add HTTP Host header in HttpSendRequest instead of HttpOpenRequest
|
||||
Depends: wininet-HTTPREQ_ReadFile_Async
|
||||
|
Reference in New Issue
Block a user