wininet: Ignore INTERNET_STATUS_DETECTING_PROXY messages in the http test.

This commit is contained in:
Maarten Lankhorst 2008-05-06 14:58:31 -07:00 committed by Alexandre Julliard
parent 7c051f1394
commit 11a0e45304
2 changed files with 6 additions and 0 deletions

View File

@ -192,6 +192,8 @@ static VOID WINAPI callback(
trace("%04x:Callback %p 0x%lx INTERNET_STATUS_HANDLE_CREATED %p %d\n",
GetCurrentThreadId(), hInternet, dwContext,
*(HINTERNET *)lpvStatusInformation,dwStatusInformationLength);
CLEAR_NOTIFIED(INTERNET_STATUS_DETECTING_PROXY);
SET_EXPECT(INTERNET_STATUS_DETECTING_PROXY);
break;
case INTERNET_STATUS_HANDLE_CLOSING:
ok(dwStatusInformationLength == sizeof(HINTERNET),
@ -218,6 +220,8 @@ static VOID WINAPI callback(
GetCurrentThreadId(), hInternet, dwContext,
(LPCSTR)lpvStatusInformation, dwStatusInformationLength);
*(LPSTR)lpvStatusInformation = '\0';
CLEAR_NOTIFIED(INTERNET_STATUS_DETECTING_PROXY);
SET_EXPECT(INTERNET_STATUS_DETECTING_PROXY);
break;
case INTERNET_STATUS_INTERMEDIATE_RESPONSE:
trace("%04x:Callback %p 0x%lx INTERNET_STATUS_INTERMEDIATE_RESPONSE %p %d\n",
@ -1767,6 +1771,7 @@ static void init_status_tests(void)
STATUS_STRING(INTERNET_STATUS_CONNECTION_CLOSED);
STATUS_STRING(INTERNET_STATUS_HANDLE_CREATED);
STATUS_STRING(INTERNET_STATUS_HANDLE_CLOSING);
STATUS_STRING(INTERNET_STATUS_DETECTING_PROXY);
STATUS_STRING(INTERNET_STATUS_REQUEST_COMPLETE);
STATUS_STRING(INTERNET_STATUS_REDIRECT);
STATUS_STRING(INTERNET_STATUS_INTERMEDIATE_RESPONSE);

View File

@ -644,6 +644,7 @@ INTERNETAPI INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallbackW(HINTERNET
#define INTERNET_STATUS_CONNECTION_CLOSED 51
#define INTERNET_STATUS_HANDLE_CREATED 60
#define INTERNET_STATUS_HANDLE_CLOSING 70
#define INTERNET_STATUS_DETECTING_PROXY 80
#define INTERNET_STATUS_REQUEST_COMPLETE 100
#define INTERNET_STATUS_REDIRECT 110
#define INTERNET_STATUS_INTERMEDIATE_RESPONSE 120