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
613ebdc8
Commit
613ebdc8
authored
Dec 15, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Correctly handle accept ranges in HttpProtocol_open_request.
parent
efd869e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
http.c
dlls/urlmon/http.c
+5
-2
No files found.
dlls/urlmon/http.c
View file @
613ebdc8
...
...
@@ -232,7 +232,7 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, LPCWSTR url, DWORD requ
static
HRESULT
HttpProtocol_start_downloading
(
Protocol
*
prot
)
{
HttpProtocol
*
This
=
ASYNCPROTOCOL_THIS
(
prot
);
LPWSTR
content_type
=
0
,
content_length
=
0
;
LPWSTR
content_type
,
content_length
,
ranges
;
DWORD
len
=
sizeof
(
DWORD
);
DWORD
status_code
;
BOOL
res
;
...
...
@@ -263,8 +263,11 @@ static HRESULT HttpProtocol_start_downloading(Protocol *prot)
WARN
(
"HttpQueryInfo failed: %d
\n
"
,
GetLastError
());
}
if
(
This
->
https
)
ranges
=
query_http_info
(
This
,
HTTP_QUERY_ACCEPT_RANGES
);
if
(
ranges
)
{
IInternetProtocolSink_ReportProgress
(
This
->
base
.
protocol_sink
,
BINDSTATUS_ACCEPTRANGES
,
NULL
);
heap_free
(
ranges
);
}
content_type
=
query_http_info
(
This
,
HTTP_QUERY_CONTENT_TYPE
);
if
(
content_type
)
{
...
...
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