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
e27a9bc6
Commit
e27a9bc6
authored
Mar 16, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Don't try to read more data than available in the current chunk in refill_buffer.
parent
fa23c7fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
request.c
dlls/winhttp/request.c
+5
-1
No files found.
dlls/winhttp/request.c
View file @
e27a9bc6
...
...
@@ -2056,9 +2056,13 @@ static BOOL refill_buffer( request_t *request, BOOL notify )
{
if
(
!
start_next_chunk
(
request
,
notify
))
return
FALSE
;
}
len
=
min
(
len
,
request
->
read_chunked_size
);
}
if
(
!
request
->
read_chunked
&&
request
->
content_length
!=
~
0u
)
else
if
(
request
->
content_length
!=
~
0u
)
{
len
=
min
(
len
,
request
->
content_length
-
request
->
content_read
);
}
if
(
len
<=
request
->
read_size
)
return
TRUE
;
if
(
!
read_more_data
(
request
,
len
,
notify
))
return
FALSE
;
if
(
!
request
->
read_size
)
request
->
content_length
=
request
->
content_read
=
0
;
...
...
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