mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 04:52:54 +00:00
Fixing tree blocker 43958 by backing out the last change to this file since it broke my.netscape.com, developer.netscape.com, webmail.netscape.com and probably other sites too. a=granrose
This commit is contained in:
parent
53cb4224fb
commit
f3870bb60a
@ -1994,8 +1994,8 @@ nsHTTPChannel::ProcessStatusCode(void)
|
||||
// 200 (OK) and 203 (Non-authoritative success) results can be cached
|
||||
if ((statusCode == 200) || (statusCode == 203)) {
|
||||
nsCOMPtr<nsIStreamListener> listener2;
|
||||
rv = CacheReceivedResponse(listener, getter_AddRefs(listener2));
|
||||
if ( NS_SUCCEEDED(rv) ) {
|
||||
CacheReceivedResponse(listener, getter_AddRefs(listener2));
|
||||
if (listener2) {
|
||||
listener = listener2;
|
||||
}
|
||||
}
|
||||
@ -2026,8 +2026,8 @@ nsHTTPChannel::ProcessStatusCode(void)
|
||||
// 300 (Multiple choices) or 301 (Redirect) results can be cached
|
||||
if ((statusCode == 300) || (statusCode == 301)) {
|
||||
nsCOMPtr<nsIStreamListener> listener2;
|
||||
rv = CacheReceivedResponse(listener, getter_AddRefs(listener2));
|
||||
if ( NS_SUCCEEDED(rv) ) {
|
||||
CacheReceivedResponse(listener, getter_AddRefs(listener2));
|
||||
if (listener2) {
|
||||
listener = listener2;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user