Hans Leidekker : winhttp: Set socket notification mask and callback from the parent request.

Alexandre Julliard julliard at winehq.org
Tue Jun 23 15:52:51 CDT 2020


Module: wine
Branch: master
Commit: c8c0bc6d2e428129886bbecf9881645f3666b16f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c8c0bc6d2e428129886bbecf9881645f3666b16f

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Jun 22 21:39:24 2020 +0200

winhttp: Set socket notification mask and callback from the parent request.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 );




More information about the wine-cvs mailing list