Commit cc1c4759 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

winhttp: Send WINHTTP_CALLBACK_STATUS_HANDLE_CREATED notification in…

winhttp: Send WINHTTP_CALLBACK_STATUS_HANDLE_CREATED notification in WinHttpWebSocketCompleteUpgrade. Based on a patch by Alistair Leslie-Hughes. Signed-off-by: 's avatarHans Leidekker <hans@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent c8c0bc6d
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment