Hans Leidekker : webservices: Return WS_S_END when we receive an end frame.
Alexandre Julliard
julliard at winehq.org
Wed May 19 14:55:13 CDT 2021
Module: wine
Branch: master
Commit: a17c5a0bb1d3e4d1e8ebcf0f979873ecb67a9a79
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a17c5a0bb1d3e4d1e8ebcf0f979873ecb67a9a79
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed May 19 09:32:14 2021 +0200
webservices: Return WS_S_END when we receive an end frame.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/webservices/channel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/webservices/channel.c b/dlls/webservices/channel.c
index b920f972de3..b894b0f61ba 100644
--- a/dlls/webservices/channel.c
+++ b/dlls/webservices/channel.c
@@ -2050,6 +2050,7 @@ static HRESULT receive_sized_envelope( struct channel *channel )
HRESULT hr;
if ((hr = receive_bytes( channel, &type, 1 )) != S_OK) return hr;
+ if (type == FRAME_RECORD_TYPE_END) return WS_S_END;
if (type != FRAME_RECORD_TYPE_SIZED_ENVELOPE) return WS_E_INVALID_FORMAT;
if ((hr = receive_size( channel, &size )) != S_OK) return hr;
if ((hr = receive_message_sized( channel, size )) != S_OK) return hr;
More information about the wine-cvs
mailing list