wininet: Use a direct connection for tests that connect to localhost.

oldstable
Hans Leidekker 2008-03-30 19:19:46 +01:00 committed by Alexandre Julliard
parent ed1cb1f099
commit bbf5dae444
1 changed files with 1 additions and 1 deletions

View File

@ -1470,7 +1470,7 @@ static void test_basic_request(int port, const char *verb, const char *url)
DWORD r, count;
char buffer[0x100];
hi = InternetOpen(NULL, 0, NULL, NULL, 0);
hi = InternetOpen(NULL, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
ok(hi != NULL, "open failed\n");
hc = InternetConnect(hi, "localhost", port, NULL, NULL, INTERNET_SERVICE_HTTP, 0, 0);