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
58e7d39c
Commit
58e7d39c
authored
Mar 05, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 05, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Use symbolic constants for HTTP status codes.
parent
d36c6452
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
request.c
dlls/winhttp/request.c
+3
-3
No files found.
dlls/winhttp/request.c
View file @
58e7d39c
...
...
@@ -1422,12 +1422,12 @@ static BOOL handle_authorization( request_t *request, DWORD status )
switch
(
status
)
{
case
401
:
case
HTTP_STATUS_DENIED
:
target
=
WINHTTP_AUTH_TARGET_SERVER
;
level
=
WINHTTP_QUERY_WWW_AUTHENTICATE
;
break
;
case
407
:
case
HTTP_STATUS_PROXY_AUTH_REQ
:
target
=
WINHTTP_AUTH_TARGET_PROXY
;
level
=
WINHTTP_QUERY_PROXY_AUTHENTICATE
;
break
;
...
...
@@ -1886,7 +1886,7 @@ static BOOL receive_response( request_t *request, BOOL async )
send_request
(
request
,
NULL
,
0
,
NULL
,
0
,
0
,
0
,
FALSE
);
/* recurse synchronously */
continue
;
}
else
if
(
status
==
401
||
status
==
407
)
else
if
(
status
==
HTTP_STATUS_DENIED
||
status
==
HTTP_STATUS_PROXY_AUTH_REQ
)
{
if
(
request
->
hdr
.
disable_flags
&
WINHTTP_DISABLE_AUTHENTICATION
)
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