Misha Koshelev : wininet: Don'
t send INTERNET_STATUS_HANDLE_CLOSING when closing handle opened with
InternetOpen for HTTP connection .
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Aug 22 06:23:12 CDT 2007
Module: wine
Branch: master
Commit: 5320d3e3eacc3b2a491b283ae04c6f3023736b21
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5320d3e3eacc3b2a491b283ae04c6f3023736b21
Author: Misha Koshelev <mk144210 at bcm.edu>
Date: Wed Aug 22 00:07:06 2007 -0500
wininet: Don't send INTERNET_STATUS_HANDLE_CLOSING when closing handle opened with InternetOpen for HTTP connection.
---
dlls/wininet/http.c | 2 --
dlls/wininet/tests/http.c | 4 ++--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 9ddd885..b676f48 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -2800,8 +2800,6 @@ HINTERNET HTTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName,
assert( hIC->hdr.htype == WH_HINIT );
- hIC->hdr.dwContext = dwContext;
-
lpwhs = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(WININETHTTPSESSIONW));
if (NULL == lpwhs)
{
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index f76d88d..699aaa0 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -458,7 +458,7 @@ abort:
if (flags & INTERNET_FLAG_ASYNC)
Sleep(100);
}
- todo_wine CHECK_NOTIFIED2(INTERNET_STATUS_HANDLE_CLOSING, (hor != 0x0) + (hic != 0x0));
+ CHECK_NOTIFIED2(INTERNET_STATUS_HANDLE_CLOSING, (hor != 0x0) + (hic != 0x0));
if (hor != 0x0) todo_wine
{
CHECK_NOT_NOTIFIED(INTERNET_STATUS_CLOSING_CONNECTION);
@@ -719,7 +719,7 @@ abort:
ok ((rc != 0), "InternetCloseHandle of handle opened by InternetOpenA failed\n");
if (flags & INTERNET_FLAG_ASYNC)
Sleep(100);
- todo_wine CHECK_NOTIFIED2(INTERNET_STATUS_HANDLE_CLOSING, (hor != 0x0) + (hic != 0x0));
+ CHECK_NOTIFIED2(INTERNET_STATUS_HANDLE_CLOSING, (hor != 0x0) + (hic != 0x0));
}
CloseHandle(hCompleteEvent);
first_connection_to_test_url = FALSE;
More information about the wine-cvs
mailing list