Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com --- dlls/winhttp/request.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c index 0511dd44ee..b25ab9a45c 100644 --- a/dlls/winhttp/request.c +++ b/dlls/winhttp/request.c @@ -3113,7 +3113,11 @@ HINTERNET WINAPI WinHttpWebSocketCompleteUpgrade( HINTERNET hrequest, DWORD_PTR release_object( &socket->hdr ); release_object( &request->hdr ); TRACE("returning %p\n", hsocket); - if (hsocket) SetLastError( ERROR_SUCCESS ); + if (hsocket) + { + send_callback( &request->hdr, WINHTTP_CALLBACK_STATUS_HANDLE_CREATED, hsocket, sizeof(hsocket) ); + SetLastError( ERROR_SUCCESS ); + } return hsocket; }