mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 13:53:58 +00:00
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: Alexander Fischer <fischeralex1993@gmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
362eed3ae3
commit
b9f012e14c
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue