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
9fd8462a
Commit
9fd8462a
authored
Jul 09, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Jul 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Fix tests when running behind a proxy server.
parent
d67a9d92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
http.c
dlls/wininet/tests/http.c
+7
-1
No files found.
dlls/wininet/tests/http.c
View file @
9fd8462a
...
...
@@ -1788,7 +1788,12 @@ static void test_proxy_indirect(int port)
sz
=
sizeof
buffer
;
r
=
HttpQueryInfo
(
hr
,
HTTP_QUERY_PROXY_AUTHENTICATE
,
buffer
,
&
sz
,
NULL
);
ok
(
r
,
"HttpQueryInfo failed
\n
"
);
ok
(
r
||
GetLastError
()
==
ERROR_HTTP_HEADER_NOT_FOUND
,
"HttpQueryInfo failed: %d
\n
"
,
GetLastError
());
if
(
!
r
)
{
skip
(
"missing proxy header, not testing remaining proxy headers
\n
"
);
goto
out
;
}
ok
(
!
strcmp
(
buffer
,
"Basic realm=
\"
placebo
\"
"
),
"proxy auth info wrong
\n
"
);
sz
=
sizeof
buffer
;
...
...
@@ -1821,6 +1826,7 @@ static void test_proxy_indirect(int port)
ok
(
GetLastError
()
==
ERROR_HTTP_HEADER_NOT_FOUND
,
"HttpQueryInfo should fail
\n
"
);
ok
(
r
==
FALSE
,
"HttpQueryInfo failed
\n
"
);
out:
InternetCloseHandle
(
hr
);
InternetCloseHandle
(
hc
);
InternetCloseHandle
(
hi
);
...
...
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