Commit b9f012e1 authored by Alexander Fischer's avatar Alexander Fischer Committed by Alexandre Julliard

winhttp: Added stubs to function request_set_option.

WINHTTP_OPTION_MAX_RESPONSE_DRAIN_SIZE and WINHTTP_OPTION_MAX_RESPONSE_HEADER_SIZE, (defined in include/winhttp.h) weren't handled yet, which caused 'Amazon Games App' downloads to fail. Signed-off-by: 's avatarAlexander Fischer <fischeralex1993@gmail.com> Signed-off-by: 's avatarHans Leidekker <hans@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 362eed3a
......@@ -1041,6 +1041,14 @@ static BOOL request_set_option( struct object_header *hdr, DWORD option, void *b
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
case WINHTTP_OPTION_MAX_RESPONSE_HEADER_SIZE:
FIXME("WINHTTP_OPTION_MAX_RESPONSE_HEADER_SIZE\n");
return TRUE;
case WINHTTP_OPTION_MAX_RESPONSE_DRAIN_SIZE:
FIXME("WINHTTP_OPTION_MAX_RESPONSE_DRAIN_SIZE\n");
return TRUE;
default:
FIXME("unimplemented option %u\n", option);
SetLastError( ERROR_WINHTTP_INVALID_OPTION );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment