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
992c2bd3
Commit
992c2bd3
authored
Nov 26, 2013
by
Ričardas Barkauskas
Committed by
Alexandre Julliard
Nov 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Reset data stream for existing request connections.
parent
920a261d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
http.c
dlls/wininet/http.c
+8
-1
http.c
dlls/wininet/tests/http.c
+1
-1
No files found.
dlls/wininet/http.c
View file @
992c2bd3
...
...
@@ -4936,11 +4936,18 @@ static DWORD HTTP_HttpSendRequestW(http_request_t *request, LPCWSTR lpszHeaders,
loop_next
=
FALSE
;
if
(
request
->
netconn
&&
!
NETCON_is_alive
(
request
->
netconn
))
if
(
request
->
netconn
)
{
if
(
!
NETCON_is_alive
(
request
->
netconn
))
{
free_netconn
(
request
->
netconn
);
request
->
netconn
=
NULL
;
}
else
{
reset_data_stream
(
request
);
}
}
reusing_connection
=
request
->
netconn
!=
NULL
;
if
(
redirected
)
{
...
...
dlls/wininet/tests/http.c
View file @
992c2bd3
...
...
@@ -3019,7 +3019,7 @@ static void test_successive_HttpSendRequest(int port)
CLEAR_NOTIFIED
(
INTERNET_STATUS_CONNECTION_CLOSED
);
CHECK_NOTIFIED
(
INTERNET_STATUS_REQUEST_COMPLETE
);
test_status_code
_todo
(
req
,
200
);
test_status_code
(
req
,
200
);
SET_WINE_ALLOW
(
INTERNET_STATUS_CLOSING_CONNECTION
);
SET_WINE_ALLOW
(
INTERNET_STATUS_CONNECTION_CLOSED
);
...
...
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