[PATCH 5/6] winhttp: Set socket notification mask and callback from the parent request.
Hans Leidekker
hans at codeweavers.com
Mon Jun 22 14:39:24 CDT 2020
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
dlls/winhttp/request.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 3129d4154e..d44baa26c2 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -3106,6 +3106,8 @@ HINTERNET WINAPI WinHttpWebSocketCompleteUpgrade( HINTERNET hrequest, DWORD_PTR
socket->hdr.type = WINHTTP_HANDLE_TYPE_SOCKET;
socket->hdr.vtbl = &socket_vtbl;
socket->hdr.refs = 1;
+ socket->hdr.callback = request->hdr.callback;
+ socket->hdr.notify_mask = request->hdr.notify_mask;
socket->hdr.context = context;
addref_object( &request->hdr );
--
2.20.1
More information about the wine-devel
mailing list