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
7939090f
Commit
7939090f
authored
Jul 28, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Disable automatic authentication.
parent
20bdf059
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
request.c
dlls/winhttp/request.c
+7
-1
No files found.
dlls/winhttp/request.c
View file @
7939090f
...
...
@@ -2440,7 +2440,7 @@ static HRESULT WINAPI winhttp_request_Open(
HINTERNET
hsession
=
NULL
,
hconnect
=
NULL
,
hrequest
;
URL_COMPONENTS
uc
;
WCHAR
*
hostname
,
*
path
;
DWORD
err
,
len
,
flags
=
0
,
request_flags
=
0
;
DWORD
err
,
len
,
flags
=
0
,
request_flags
=
0
,
disable_flags
;
TRACE
(
"%p, %s, %s, %s
\n
"
,
request
,
debugstr_w
(
method
),
debugstr_w
(
url
),
debugstr_variant
(
&
async
));
...
...
@@ -2488,6 +2488,12 @@ static HRESULT WINAPI winhttp_request_Open(
err
=
get_last_error
();
goto
error
;
}
disable_flags
=
WINHTTP_DISABLE_AUTHENTICATION
;
if
(
!
WinHttpSetOption
(
hrequest
,
WINHTTP_OPTION_DISABLE_FEATURE
,
&
disable_flags
,
sizeof
(
disable_flags
)
))
{
err
=
get_last_error
();
goto
error
;
}
if
(
flags
&
WINHTTP_FLAG_ASYNC
)
{
request
->
wait
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
...
...
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