Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cbfe940a
Commit
cbfe940a
authored
Nov 23, 2022
by
Paul Gofman
Committed by
Alexandre Julliard
Nov 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Set name resolution timeout in download_script().
parent
289d21a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
session.c
dlls/winhttp/session.c
+1
-0
No files found.
dlls/winhttp/session.c
View file @
cbfe940a
...
...
@@ -1922,6 +1922,7 @@ static char *download_script( const WCHAR *url, DWORD *out_size )
hostname
[
uc
.
dwHostNameLength
]
=
0
;
if
(
!
(
ses
=
WinHttpOpen
(
NULL
,
WINHTTP_ACCESS_TYPE_NO_PROXY
,
NULL
,
NULL
,
0
)))
goto
done
;
WinHttpSetTimeouts
(
ses
,
5000
,
60000
,
30000
,
30000
);
if
(
!
(
con
=
WinHttpConnect
(
ses
,
hostname
,
uc
.
nPort
,
0
)))
goto
done
;
if
(
uc
.
nScheme
==
INTERNET_SCHEME_HTTPS
)
flags
|=
WINHTTP_FLAG_SECURE
;
if
(
!
(
req
=
WinHttpOpenRequest
(
con
,
NULL
,
uc
.
lpszUrlPath
,
NULL
,
NULL
,
acceptW
,
flags
)))
goto
done
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment