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
ab80e557
Commit
ab80e557
authored
Oct 27, 2005
by
Vijay Kiran Kamuju
Committed by
Alexandre Julliard
Oct 27, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add default implementation for max_conn_pre_*_server flag.
Add stubs for the above flags in InternetSetOption.
parent
30d6d5dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
internet.c
dlls/wininet/internet.c
+40
-0
No files found.
dlls/wininet/internet.c
View file @
ab80e557
...
...
@@ -2041,6 +2041,34 @@ static BOOL INET_QueryOptionHelper(BOOL bIsUnicode, HINTERNET hInternet, DWORD d
}
break
;
}
case
INTERNET_OPTION_MAX_CONNS_PER_SERVER
:
{
ULONG
conn
=
2
;
TRACE
(
"INTERNET_OPTION_MAX_CONNS_PER_SERVER: %ld
\n
"
,
conn
);
if
(
*
lpdwBufferLength
<
sizeof
(
ULONG
))
INTERNET_SetLastError
(
ERROR_INSUFFICIENT_BUFFER
);
else
{
memcpy
(
lpBuffer
,
&
conn
,
sizeof
(
ULONG
));
bSuccess
=
TRUE
;
}
*
lpdwBufferLength
=
sizeof
(
ULONG
);
break
;
}
case
INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER
:
{
ULONG
conn
=
4
;
TRACE
(
"INTERNET_OPTION_MAX_CONNS_1_0_SERVER: %ld
\n
"
,
conn
);
if
(
*
lpdwBufferLength
<
sizeof
(
ULONG
))
INTERNET_SetLastError
(
ERROR_INSUFFICIENT_BUFFER
);
else
{
memcpy
(
lpBuffer
,
&
conn
,
sizeof
(
ULONG
));
bSuccess
=
TRUE
;
}
*
lpdwBufferLength
=
sizeof
(
ULONG
);
break
;
}
case
INTERNET_OPTION_SECURITY_FLAGS
:
FIXME
(
"INTERNET_OPTION_SECURITY_FLAGS: Stub
\n
"
);
break
;
...
...
@@ -2148,6 +2176,18 @@ BOOL WINAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption,
FIXME
(
"Option INTERNET_OPTION_DATA_RECEIVE_TIMEOUT (%ld): STUB
\n
"
,
receivetimeout
);
}
break
;
case
INTERNET_OPTION_MAX_CONNS_PER_SERVER
:
{
unsigned
long
conns
=*
(
unsigned
long
*
)
lpBuffer
;
FIXME
(
"Option INTERNET_OPTION_MAX_CONNS_PER_SERVER (%ld): STUB
\n
"
,
conns
);
}
break
;
case
INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER
:
{
unsigned
long
conns
=*
(
unsigned
long
*
)
lpBuffer
;
FIXME
(
"Option INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER (%ld): STUB
\n
"
,
conns
);
}
break
;
case
INTERNET_OPTION_RESET_URLCACHE_SESSION
:
FIXME
(
"Option INTERNET_OPTION_RESET_URLCACHE_SESSION: STUB
\n
"
);
break
;
...
...
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