winhttp: Send WINHTTP_CALLBACK_STATUS_HANDLE_CREATED notification in WinHttpWebSocketCompleteUpgrade.
Based on a patch by Alistair Leslie-Hughes. Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c8c0bc6d2e
commit
cc1c4759ba
|
@ -3113,7 +3113,10 @@ HINTERNET WINAPI WinHttpWebSocketCompleteUpgrade( HINTERNET hrequest, DWORD_PTR
|
|||
addref_object( &request->hdr );
|
||||
socket->request = request;
|
||||
|
||||
hsocket = alloc_handle( &socket->hdr );
|
||||
if ((hsocket = alloc_handle( &socket->hdr )))
|
||||
{
|
||||
send_callback( &request->hdr, WINHTTP_CALLBACK_STATUS_HANDLE_CREATED, &hsocket, sizeof(hsocket) );
|
||||
}
|
||||
|
||||
release_object( &socket->hdr );
|
||||
release_object( &request->hdr );
|
||||
|
|
Loading…
Reference in New Issue