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
534fdf8f
Commit
534fdf8f
authored
Feb 28, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
httpapi: Stub HttpSetServerSessionProperty().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
22bfe19b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
1 deletion
+58
-1
httpapi.spec
dlls/httpapi/httpapi.spec
+1
-1
httpapi_main.c
dlls/httpapi/httpapi_main.c
+23
-0
http.h
include/http.h
+34
-0
No files found.
dlls/httpapi/httpapi.spec
View file @
534fdf8f
...
...
@@ -27,7 +27,7 @@
@ stdcall HttpSendHttpResponse(ptr int64 long ptr ptr ptr ptr long ptr ptr)
@ stub HttpSendResponseEntityBody
@ stdcall HttpSetRequestQueueProperty(ptr long ptr long long ptr)
@ st
ub HttpSetServerSessionProperty
@ st
dcall HttpSetServerSessionProperty(int64 long ptr long)
@ stdcall HttpSetServiceConfiguration(ptr long ptr long ptr)
@ stdcall HttpSetUrlGroupProperty(int64 long ptr long)
@ stub HttpShutdownRequestQueue
...
...
dlls/httpapi/httpapi_main.c
View file @
534fdf8f
...
...
@@ -771,3 +771,26 @@ ULONG WINAPI HttpSetRequestQueueProperty(HANDLE queue, HTTP_SERVER_PROPERTY prop
queue
,
property
,
value
,
length
,
reserved1
,
reserved2
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
/***********************************************************************
* HttpSetServerSessionProperty (HTTPAPI.@)
*/
ULONG
WINAPI
HttpSetServerSessionProperty
(
HTTP_SERVER_SESSION_ID
id
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
length
)
{
TRACE
(
"id %s, property %u, value %p, length %u.
\n
"
,
wine_dbgstr_longlong
(
id
),
property
,
value
,
length
);
switch
(
property
)
{
case
HttpServerQosProperty
:
{
const
HTTP_QOS_SETTING_INFO
*
info
=
value
;
FIXME
(
"Ignoring QoS setting %u.
\n
"
,
info
->
QosType
);
return
ERROR_SUCCESS
;
}
default:
FIXME
(
"Unhandled property %u.
\n
"
,
property
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
}
include/http.h
View file @
534fdf8f
...
...
@@ -429,6 +429,39 @@ typedef struct _HTTP_BINDING_INFO
HANDLE
RequestQueueHandle
;
}
HTTP_BINDING_INFO
,
*
PHTTP_BINDING_INFO
;
typedef
enum
_HTTP_QOS_SETTING_TYPE
{
HttpQosSettingTypeBandwidth
,
HttpQosSettingTypeConnectionLimit
,
HttpQosSettingTypeFlowRate
,
}
HTTP_QOS_SETTING_TYPE
,
*
PHTTP_QOS_SETTING_TYPE
;
typedef
struct
_HTTP_BANDWIDTH_LIMIT_INFO
{
HTTP_PROPERTY_FLAGS
Flags
;
ULONG
MaxBandwidth
;
}
HTTP_BANDWIDTH_LIMIT_INFO
,
*
PHTTP_BANDWIDTH_LIMIT_INFO
;
typedef
struct
_HTTP_CONNECTION_LIMIT_INFO
{
HTTP_PROPERTY_FLAGS
Flags
;
ULONG
MaxConnections
;
}
HTTP_CONNECTION_LIMIT_INFO
,
*
PHTTP_CONNECTION_LIMIT_INFO
;
typedef
struct
_HTTP_FLOWRATE_INFO
{
HTTP_PROPERTY_FLAGS
Flags
;
ULONG
MaxBandwidth
;
ULONG
MaxPeakBandwidth
;
ULONG
BurstSize
;
}
HTTP_FLOWRATE_INFO
,
*
PHTTP_FLOWRATE_INFO
;
typedef
struct
_HTTP_QOS_SETTING_INFO
{
HTTP_QOS_SETTING_TYPE
QosType
;
void
*
QosSetting
;
}
HTTP_QOS_SETTING_INFO
,
*
PHTTP_QOS_SETTING_INFO
;
ULONG
WINAPI
HttpAddUrl
(
HANDLE
,
PCWSTR
,
PVOID
);
ULONG
WINAPI
HttpAddUrlToUrlGroup
(
HTTP_URL_GROUP_ID
id
,
const
WCHAR
*
url
,
HTTP_URL_CONTEXT
context
,
ULONG
reserved
);
ULONG
WINAPI
HttpCloseRequestQueue
(
HANDLE
handle
);
...
...
@@ -448,6 +481,7 @@ ULONG WINAPI HttpRemoveUrl(HANDLE queue, const WCHAR *url);
ULONG
WINAPI
HttpRemoveUrlFromUrlGroup
(
HTTP_URL_GROUP_ID
id
,
const
WCHAR
*
url
,
ULONG
flags
);
ULONG
WINAPI
HttpSendHttpResponse
(
HANDLE
queue
,
HTTP_REQUEST_ID
id
,
ULONG
flags
,
HTTP_RESPONSE
*
response
,
HTTP_CACHE_POLICY
*
cache_policy
,
ULONG
*
ret_size
,
void
*
reserved1
,
ULONG
reserved2
,
OVERLAPPED
*
ovl
,
HTTP_LOG_DATA
*
log_data
);
ULONG
WINAPI
HttpSetRequestQueueProperty
(
HANDLE
queue
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
length
,
ULONG
reserved1
,
void
*
reserved2
);
ULONG
WINAPI
HttpSetServerSessionProperty
(
HTTP_SERVER_SESSION_ID
id
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
size
);
ULONG
WINAPI
HttpSetServiceConfiguration
(
HANDLE
,
HTTP_SERVICE_CONFIG_ID
,
PVOID
,
ULONG
,
LPOVERLAPPED
);
ULONG
WINAPI
HttpSetUrlGroupProperty
(
HTTP_URL_GROUP_ID
id
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
length
);
...
...
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