зеркало из https://github.com/mozilla/pjs.git
Bug 586264 - Improve/add logging to async redirect code, r=honzab, a2.0=bsmedberg
This commit is contained in:
Родитель
9b678680ac
Коммит
1ff9c7f1a8
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
* Contributor(s):
|
||||
* Honza Bambas <honzab@firemni.cz>
|
||||
* Bjarne Geir Herland <bjarnw@runitsoft.com>
|
||||
* Bjarne Geir Herland <bjarne@runitsoft.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
|
@ -37,6 +37,10 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifdef MOZ_LOGGING
|
||||
#define FORCE_PR_LOG
|
||||
#endif
|
||||
|
||||
#include "prlog.h"
|
||||
#include "nsAsyncRedirectVerifyHelper.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
|
|
@ -4238,6 +4238,8 @@ nsresult
|
|||
nsHttpChannel::WaitForRedirectCallback()
|
||||
{
|
||||
nsresult rv;
|
||||
LOG(("nsHttpChannel::WaitForRedirectCallback [this=%p]\n", this));
|
||||
|
||||
if (mTransactionPump) {
|
||||
rv = mTransactionPump->Suspend();
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче