Jacek Caban : wininet: Inherit INET_CALLBACKW from parent handler.
Module: wine Branch: master Commit: 5c53baac8d4907c6ff9d87b684769a6b3ca29c91 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5c53baac8d4907c6ff9d87b684... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon Oct 30 22:14:59 2006 +0100 wininet: Inherit INET_CALLBACKW from parent handler. --- dlls/wininet/http.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index b85185e..c9a5698 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -1007,6 +1007,7 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(L lpwhr->hdr.dwRefCount = 1; lpwhr->hdr.destroy = HTTP_CloseHTTPRequestHandle; lpwhr->hdr.lpfnStatusCB = lpwhs->hdr.lpfnStatusCB; + lpwhr->hdr.dwInternalFlags = lpwhs->hdr.dwInternalFlags & INET_CALLBACKW; WININET_AddRef( &lpwhs->hdr ); lpwhr->lpHttpSession = lpwhs; @@ -2401,7 +2402,7 @@ HINTERNET HTTP_Connect(LPWININETAPPINFOW lpwhs->hdr.htype = WH_HHTTPSESSION; lpwhs->hdr.dwFlags = dwFlags; lpwhs->hdr.dwContext = dwContext; - lpwhs->hdr.dwInternalFlags = dwInternalFlags; + lpwhs->hdr.dwInternalFlags = dwInternalFlags | (hIC->hdr.dwInternalFlags & INET_CALLBACKW); lpwhs->hdr.dwRefCount = 1; lpwhs->hdr.destroy = HTTP_CloseHTTPSessionHandle; lpwhs->hdr.lpfnStatusCB = hIC->hdr.lpfnStatusCB;
participants (1)
-
Alexandre Julliard