fixes bug 199546 "forum message wants to save to disk as messages.php" r=dougt sr=bz a=asa

(checking in on closed tree per request from asa)
This commit is contained in:
darin%netscape.com 2003-05-06 20:43:20 +00:00
Родитель 73a5e315ae
Коммит b6f1b4f121
1 изменённых файлов: 3 добавлений и 7 удалений

Просмотреть файл

@ -1731,12 +1731,8 @@ nsHttpChannel::ProcessRedirection(PRUint32 redirectType)
rv = newChannel->AsyncOpen(mListener, mListenerContext);
if (NS_FAILED(rv)) return rv;
// set redirect status
mStatus = NS_BINDING_REDIRECTED;
// close down this transaction (null if processing a cached redirect)
if (mTransaction)
gHttpHandler->CancelTransaction(mTransaction, NS_BINDING_REDIRECTED);
// close down this channel
Cancel(NS_BINDING_REDIRECTED);
// disconnect from our listener
mListener = 0;
@ -3177,7 +3173,7 @@ nsHttpChannel::OnDataAvailable(nsIRequest *request, nsISupports *ctxt,
return rv;
}
return NS_BASE_STREAM_CLOSED;
return NS_ERROR_ABORT;
}
//-----------------------------------------------------------------------------