mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
wininet: Don't send INTERNET_STATUS_HANDLE_CLOSING when closing handle opened with InternetOpen for HTTP connection.
This commit is contained in:
parent
04e0986d60
commit
5320d3e3ea
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user