Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cfdc5399
Commit
cfdc5399
authored
Jun 10, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Set content_length when we reach end of data in netconn_read.
parent
8e37ed55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
http.c
dlls/wininet/http.c
+2
-0
No files found.
dlls/wininet/http.c
View file @
cfdc5399
...
...
@@ -2346,6 +2346,8 @@ static DWORD netconn_read(data_stream_t *stream, http_request_t *req, BYTE *buf,
if
(
size
&&
req
->
netconn
)
{
if
(
NETCON_recv
(
req
->
netconn
,
buf
,
size
,
read_mode
==
READMODE_SYNC
?
MSG_WAITALL
:
0
,
&
len
)
!=
ERROR_SUCCESS
)
len
=
0
;
if
(
!
len
)
netconn_stream
->
content_length
=
netconn_stream
->
content_read
;
}
netconn_stream
->
content_read
+=
*
read
=
len
;
...
...
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