All nsIProgressEventSink notifications from the socket transport should go to the nsHTTPChannel...

This commit is contained in:
rpotts%netscape.com 2001-03-27 00:56:51 +00:00
parent d65d8b3774
commit 35247b3aca

View File

@ -1183,7 +1183,8 @@ nsresult nsHTTPHandler::RequestTransport(nsIURI* i_Uri,
i_Channel->GetLoadAttributes(&loadFlags);
nsCOMPtr<nsIInterfaceRequestor> callbacks;
i_Channel->GetNotificationCallbacks(getter_AddRefs(callbacks));
callbacks = do_QueryInterface(NS_STATIC_CAST(nsIHTTPChannel*, i_Channel));
trans->SetNotificationCallbacks(callbacks,
(loadFlags & nsIChannel::LOAD_BACKGROUND));