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
77c4ade0
Commit
77c4ade0
authored
Sep 28, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Sep 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Store security flags in WININET_NETCONNECTION.
parent
ce0164c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
http.c
dlls/wininet/http.c
+11
-0
internet.h
dlls/wininet/internet.h
+1
-0
No files found.
dlls/wininet/http.c
View file @
77c4ade0
...
...
@@ -1887,6 +1887,17 @@ static DWORD HTTPREQ_SetOption(object_header_t *hdr, DWORD option, void *buffer,
http_request_t
*
req
=
(
http_request_t
*
)
hdr
;
switch
(
option
)
{
case
INTERNET_OPTION_SECURITY_FLAGS
:
{
DWORD
flags
;
if
(
!
buffer
||
size
!=
sizeof
(
DWORD
))
return
ERROR_INVALID_PARAMETER
;
flags
=
*
(
DWORD
*
)
buffer
;
TRACE
(
"%08x
\n
"
,
flags
);
req
->
netConnection
.
security_flags
=
flags
;
return
ERROR_SUCCESS
;
}
case
INTERNET_OPTION_SEND_TIMEOUT
:
case
INTERNET_OPTION_RECEIVE_TIMEOUT
:
TRACE
(
"INTERNET_OPTION_SEND/RECEIVE_TIMEOUT
\n
"
);
...
...
dlls/wininet/internet.h
View file @
77c4ade0
...
...
@@ -53,6 +53,7 @@ typedef struct
BOOL
useSSL
;
int
socketFD
;
void
*
ssl_s
;
DWORD
security_flags
;
}
WININET_NETCONNECTION
;
static
inline
LPWSTR
heap_strdupW
(
LPCWSTR
str
)
...
...
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