httpapi: Stub HttpSetUrlGroupProperty(HttpServerLoggingProperty).

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48530
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-02-28 21:45:32 -06:00 committed by Alexandre Julliard
parent 4c5f325333
commit 52c6070ea5
1 changed files with 17 additions and 13 deletions

View File

@ -657,25 +657,29 @@ ULONG WINAPI HttpCloseUrlGroup(HTTP_URL_GROUP_ID id)
ULONG WINAPI HttpSetUrlGroupProperty(HTTP_URL_GROUP_ID id, HTTP_SERVER_PROPERTY property, void *value, ULONG length)
{
struct url_group *group = get_url_group(id);
const HTTP_BINDING_INFO *info = value;
TRACE("id %s, property %u, value %p, length %u.\n",
wine_dbgstr_longlong(id), property, value, length);
if (property != HttpServerBindingProperty)
switch (property)
{
case HttpServerBindingProperty:
{
const HTTP_BINDING_INFO *info = value;
TRACE("Binding to queue %p.\n", info->RequestQueueHandle);
group->queue = info->RequestQueueHandle;
if (group->url)
add_url(group->queue, group->url, group->context);
return ERROR_SUCCESS;
}
case HttpServerLoggingProperty:
WARN("Ignoring logging property.\n");
return ERROR_SUCCESS;
default:
FIXME("Unhandled property %u.\n", property);
return ERROR_CALL_NOT_IMPLEMENTED;
}
TRACE("Binding to queue %p.\n", info->RequestQueueHandle);
group->queue = info->RequestQueueHandle;
if (group->url)
add_url(group->queue, group->url, group->context);
return ERROR_SUCCESS;
}
/***********************************************************************