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
27af8197
Commit
27af8197
authored
May 24, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
May 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Added real implementation of InternetQueryOption(INTERNET_OPTION_REQUEST_FLAGS).
parent
afe73325
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
http.c
dlls/wininet/http.c
+16
-4
No files found.
dlls/wininet/http.c
View file @
27af8197
...
...
@@ -2159,17 +2159,29 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
*
size
=
sizeof
(
DWORD
);
*
(
DWORD
*
)
buffer
=
req
->
connect_timeout
;
return
ERROR_SUCCESS
;
case
INTERNET_OPTION_REQUEST_FLAGS
:
TRACE
(
"INTERNET_OPTION_REQUEST_FLAGS
\n
"
)
;
case
INTERNET_OPTION_REQUEST_FLAGS
:
{
DWORD
flags
=
0
;
if
(
*
size
<
sizeof
(
DWORD
))
return
ERROR_INSUFFICIENT_BUFFER
;
*
(
DWORD
*
)
buffer
=
4
;
*
size
=
sizeof
(
DWORD
);
/* FIXME: Add support for:
* INTERNET_REQFLAG_FROM_CACHE
* INTERNET_REQFLAG_CACHE_WRITE_DISABLED
*/
if
(
req
->
session
->
appInfo
->
proxy
)
flags
|=
INTERNET_REQFLAG_VIA_PROXY
;
if
(
!
req
->
rawHeaders
)
flags
|=
INTERNET_REQFLAG_NO_HEADERS
;
TRACE
(
"INTERNET_OPTION_REQUEST_FLAGS returning %x
\n
"
,
flags
);
*
size
=
sizeof
(
DWORD
);
*
(
DWORD
*
)
buffer
=
flags
;
return
ERROR_SUCCESS
;
}
}
return
INET_QueryOption
(
hdr
,
option
,
buffer
,
size
,
unicode
);
}
...
...
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