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
b61c63af
Commit
b61c63af
authored
Feb 26, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Query bind info object for BINDSTRING_ROOTDOC_URL.
parent
9c642455
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
http.c
dlls/urlmon/http.c
+8
-1
No files found.
dlls/urlmon/http.c
View file @
b61c63af
...
@@ -282,7 +282,7 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, IUri *uri, DWORD reques
...
@@ -282,7 +282,7 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, IUri *uri, DWORD reques
HINTERNET
internet_session
,
IInternetBindInfo
*
bind_info
)
HINTERNET
internet_session
,
IInternetBindInfo
*
bind_info
)
{
{
HttpProtocol
*
This
=
impl_from_Protocol
(
prot
);
HttpProtocol
*
This
=
impl_from_Protocol
(
prot
);
LPWSTR
addl_header
=
NULL
,
post_cookie
=
NULL
;
WCHAR
*
addl_header
=
NULL
,
*
post_cookie
=
NULL
,
*
rootdoc_url
=
NULL
;
IServiceProvider
*
service_provider
=
NULL
;
IServiceProvider
*
service_provider
=
NULL
;
IHttpNegotiate2
*
http_negotiate2
=
NULL
;
IHttpNegotiate2
*
http_negotiate2
=
NULL
;
BSTR
url
,
host
,
user
,
pass
,
path
;
BSTR
url
,
host
,
user
,
pass
,
path
;
...
@@ -326,6 +326,13 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, IUri *uri, DWORD reques
...
@@ -326,6 +326,13 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, IUri *uri, DWORD reques
return
INET_E_CANNOT_CONNECT
;
return
INET_E_CANNOT_CONNECT
;
}
}
num
=
0
;
hres
=
IInternetBindInfo_GetBindString
(
bind_info
,
BINDSTRING_ROOTDOC_URL
,
&
rootdoc_url
,
1
,
&
num
);
if
(
hres
==
S_OK
&&
num
)
{
FIXME
(
"Use root doc URL %s
\n
"
,
debugstr_w
(
rootdoc_url
));
CoTaskMemFree
(
rootdoc_url
);
}
num
=
sizeof
(
accept_mimes
)
/
sizeof
(
accept_mimes
[
0
])
-
1
;
num
=
sizeof
(
accept_mimes
)
/
sizeof
(
accept_mimes
[
0
])
-
1
;
hres
=
IInternetBindInfo_GetBindString
(
bind_info
,
BINDSTRING_ACCEPT_MIMES
,
accept_mimes
,
num
,
&
num
);
hres
=
IInternetBindInfo_GetBindString
(
bind_info
,
BINDSTRING_ACCEPT_MIMES
,
accept_mimes
,
num
,
&
num
);
if
(
hres
==
INET_E_USE_DEFAULT_SETTING
)
{
if
(
hres
==
INET_E_USE_DEFAULT_SETTING
)
{
...
...
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