Module: wine Branch: master Commit: c8c0bc6d2e428129886bbecf9881645f3666b16f URL: https://source.winehq.org/git/wine.git/?a=commit;h=c8c0bc6d2e428129886bbecf9...
Author: Hans Leidekker hans@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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 );