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

git-svn-id: svn://10.0.0.236/trunk@90462 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
2001-03-27 00:56:51 +00:00
parent ca525acad2
commit be28647be6

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));