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
e970c4c3
Commit
e970c4c3
authored
Sep 14, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Collect persistent connection before running tests in test_async_HttpSendRequestEx.
parent
d0056f6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
http.c
dlls/wininet/tests/http.c
+8
-4
No files found.
dlls/wininet/tests/http.c
View file @
e970c4c3
...
@@ -7400,8 +7400,8 @@ static const struct notification async_send_request_ex_test2[] =
...
@@ -7400,8 +7400,8 @@ static const struct notification async_send_request_ex_test2[] =
{
http_send_request_ex
,
INTERNET_STATUS_COOKIE_SENT
,
TRUE
,
FALSE
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_COOKIE_SENT
,
TRUE
,
FALSE
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_RESOLVING_NAME
,
TRUE
,
FALSE
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_RESOLVING_NAME
,
TRUE
,
FALSE
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_NAME_RESOLVED
,
TRUE
,
FALSE
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_NAME_RESOLVED
,
TRUE
,
FALSE
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTING_TO_SERVER
,
TRUE
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTING_TO_SERVER
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTED_TO_SERVER
,
TRUE
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTED_TO_SERVER
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_SENDING_REQUEST
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_SENDING_REQUEST
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_REQUEST_SENT
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_REQUEST_SENT
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_REQUEST_COMPLETE
,
TRUE
},
{
http_send_request_ex
,
INTERNET_STATUS_REQUEST_COMPLETE
,
TRUE
},
...
@@ -7445,8 +7445,8 @@ static const struct notification async_send_request_ex_chunked_test[] =
...
@@ -7445,8 +7445,8 @@ static const struct notification async_send_request_ex_chunked_test[] =
{
http_end_request
,
INTERNET_STATUS_RECEIVING_RESPONSE
,
TRUE
},
{
http_end_request
,
INTERNET_STATUS_RECEIVING_RESPONSE
,
TRUE
},
{
http_end_request
,
INTERNET_STATUS_RESPONSE_RECEIVED
,
TRUE
},
{
http_end_request
,
INTERNET_STATUS_RESPONSE_RECEIVED
,
TRUE
},
{
http_end_request
,
INTERNET_STATUS_REQUEST_COMPLETE
,
TRUE
},
{
http_end_request
,
INTERNET_STATUS_REQUEST_COMPLETE
,
TRUE
},
{
internet_close_handle
,
INTERNET_STATUS_CLOSING_CONNECTION
},
{
internet_close_handle
,
INTERNET_STATUS_CLOSING_CONNECTION
,
FALSE
,
FALSE
,
TRUE
},
{
internet_close_handle
,
INTERNET_STATUS_CONNECTION_CLOSED
},
{
internet_close_handle
,
INTERNET_STATUS_CONNECTION_CLOSED
,
FALSE
,
FALSE
,
TRUE
},
{
internet_close_handle
,
INTERNET_STATUS_HANDLE_CLOSING
},
{
internet_close_handle
,
INTERNET_STATUS_HANDLE_CLOSING
},
{
internet_close_handle
,
INTERNET_STATUS_HANDLE_CLOSING
}
{
internet_close_handle
,
INTERNET_STATUS_HANDLE_CLOSING
}
};
};
...
@@ -7497,6 +7497,10 @@ static void test_async_HttpSendRequestEx(const struct notification_data *nd)
...
@@ -7497,6 +7497,10 @@ static void test_async_HttpSendRequestEx(const struct notification_data *nd)
trace
(
"Async HttpSendRequestEx test (%s %s)
\n
"
,
nd
->
method
,
nd
->
host
);
trace
(
"Async HttpSendRequestEx test (%s %s)
\n
"
,
nd
->
method
,
nd
->
host
);
/* Collect all existing persistent connections */
ret
=
InternetSetOptionA
(
NULL
,
INTERNET_OPTION_SETTINGS_CHANGED
,
NULL
,
0
);
ok
(
ret
,
"InternetSetOption(INTERNET_OPTION_END_BROWSER_SESSION) failed: %lu
\n
"
,
GetLastError
());
InitializeCriticalSection
(
&
notification_cs
);
InitializeCriticalSection
(
&
notification_cs
);
info
.
test
=
nd
->
test
;
info
.
test
=
nd
->
test
;
...
...
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