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
97cd0291
Commit
97cd0291
authored
Dec 09, 2014
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Check the return value of send_request.
parent
cd7806b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
request.c
dlls/winhttp/request.c
+4
-9
No files found.
dlls/winhttp/request.c
View file @
97cd0291
...
...
@@ -2314,22 +2314,17 @@ static BOOL receive_response( request_t *request, BOOL async )
if
(
!
(
ret
=
handle_redirect
(
request
,
status
)))
break
;
/* recurse synchronously */
send_request
(
request
,
NULL
,
0
,
request
->
optional
,
request
->
optional_len
,
0
,
0
,
FALSE
);
continue
;
if
((
ret
=
send_request
(
request
,
NULL
,
0
,
request
->
optional
,
request
->
optional_len
,
0
,
0
,
FALSE
)))
continue
;
}
else
if
(
status
==
HTTP_STATUS_DENIED
||
status
==
HTTP_STATUS_PROXY_AUTH_REQ
)
{
if
(
request
->
hdr
.
disable_flags
&
WINHTTP_DISABLE_AUTHENTICATION
)
break
;
drain_content
(
request
);
if
(
!
handle_authorization
(
request
,
status
))
{
ret
=
TRUE
;
break
;
}
if
(
!
handle_authorization
(
request
,
status
))
break
;
/* recurse synchronously */
send_request
(
request
,
NULL
,
0
,
request
->
optional
,
request
->
optional_len
,
0
,
0
,
FALSE
);
continue
;
if
((
ret
=
send_request
(
request
,
NULL
,
0
,
request
->
optional
,
request
->
optional_len
,
0
,
0
,
FALSE
)))
continue
;
}
break
;
}
...
...
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