Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c6005aab
Commit
c6005aab
authored
Mar 15, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Use parsed status_code to test for CONTINUE HTTP response.
parent
02f2ab94
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
http.c
dlls/wininet/http.c
+1
-2
No files found.
dlls/wininet/http.c
View file @
c6005aab
...
...
@@ -5680,7 +5680,6 @@ static INT HTTP_GetResponseHeaders(http_request_t *request, BOOL clear)
NETCON_set_timeout
(
request
->
netconn
,
FALSE
,
request
->
receive_timeout
);
do
{
static
const
WCHAR
szHundred
[]
=
{
'1'
,
'0'
,
'0'
,
0
};
/*
* We should first receive 'HTTP/1.x nnn OK' where nnn is the status code.
*/
...
...
@@ -5716,7 +5715,7 @@ static INT HTTP_GetResponseHeaders(http_request_t *request, BOOL clear)
TRACE
(
"version [%s] status code [%s] status text [%s]
\n
"
,
debugstr_w
(
buffer
),
debugstr_w
(
status_code
),
debugstr_w
(
status_text
)
);
codeHundred
=
(
!
strcmpW
(
status_code
,
szHundred
))
;
codeHundred
=
request
->
status_code
==
HTTP_STATUS_CONTINUE
;
}
else
if
(
!
codeHundred
)
{
...
...
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