wininet: Initialize send and receive timeouts to 0.

This commit is contained in:
Jacek Caban 2015-04-24 14:39:29 +02:00 committed by Alexandre Julliard
parent 70297c424a
commit 07520fbf12
1 changed files with 2 additions and 2 deletions

View File

@ -5827,8 +5827,8 @@ DWORD HTTP_Connect(appinfo_t *hIC, LPCWSTR lpszServerName,
session->password = heap_strdupW(lpszPassword);
session->hostPort = serverPort;
session->connect_timeout = hIC->connect_timeout;
session->send_timeout = INFINITE;
session->receive_timeout = INFINITE;
session->send_timeout = 0;
session->receive_timeout = 0;
/* Don't send a handle created callback if this handle was created with InternetOpenUrl */
if (!(session->hdr.dwInternalFlags & INET_OPENURL))