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
de36782c
Commit
de36782c
authored
Jun 04, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Set INTERNET_OPTION_HTTP_DECODING option in http protocol handler.
parent
e42d7f95
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
http.c
dlls/urlmon/http.c
+6
-1
No files found.
dlls/urlmon/http.c
View file @
de36782c
...
...
@@ -85,7 +85,7 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, LPCWSTR url, DWORD requ
BYTE
security_id
[
512
];
DWORD
len
=
0
;
ULONG
num
=
0
;
BOOL
res
;
BOOL
res
,
b
;
HRESULT
hres
;
static
const
WCHAR
wszBindVerb
[
BINDVERB_CUSTOM
][
5
]
=
...
...
@@ -209,6 +209,11 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, LPCWSTR url, DWORD requ
optional
=
(
LPWSTR
)
This
->
base
.
bind_info
.
stgmedData
.
u
.
hGlobal
;
}
b
=
TRUE
;
res
=
InternetSetOptionW
(
This
->
base
.
request
,
INTERNET_OPTION_HTTP_DECODING
,
&
b
,
sizeof
(
b
));
if
(
!
res
)
WARN
(
"InternetSetOption(INTERNET_OPTION_HTTP_DECODING) failed: %08x
\n
"
,
GetLastError
());
res
=
HttpSendRequestW
(
This
->
base
.
request
,
This
->
full_header
,
lstrlenW
(
This
->
full_header
),
optional
,
optional
?
This
->
base
.
bind_info
.
cbstgmedData
:
0
);
if
(
!
res
&&
GetLastError
()
!=
ERROR_IO_PENDING
)
{
...
...
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