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
f8f9c4cb
Commit
f8f9c4cb
authored
Sep 09, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Don't loop on response codes other than 301 and 302.
parent
165b21dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
request.c
dlls/winhttp/request.c
+4
-2
No files found.
dlls/winhttp/request.c
View file @
f8f9c4cb
...
...
@@ -1267,14 +1267,16 @@ static BOOL receive_response( request_t *request, BOOL async )
if
(
!
query_headers
(
request
,
query
,
NULL
,
&
request
->
content_length
,
&
size
,
NULL
))
request
->
content_length
=
~
0UL
;
if
(
status
==
200
)
break
;
if
(
status
==
301
||
status
==
302
)
{
if
(
request
->
hdr
.
disable_flags
&
WINHTTP_DISABLE_REDIRECTS
)
break
;
drain_content
(
request
);
if
(
!
(
ret
=
handle_redirect
(
request
)))
break
;
ret
=
send_request
(
request
,
NULL
,
0
,
NULL
,
0
,
0
,
0
,
FALSE
);
/* recurse synchronously */
continue
;
}
ret
=
send_request
(
request
,
NULL
,
0
,
NULL
,
0
,
0
,
0
,
FALSE
);
/* recurse synchronously */
if
(
status
==
401
)
FIXME
(
"authentication not supported
\n
"
);
break
;
}
if
(
async
)
...
...
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