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>
This commit is contained in:
parent
57a1936053
commit
c8c0bc6d2e
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue