Bug 586264 - Improve/add logging to async redirect code, r=honzab, a2.0=bsmedberg

This commit is contained in:
Bjarne 2010-08-18 19:22:48 +02:00
Родитель 9b678680ac
Коммит 1ff9c7f1a8
2 изменённых файлов: 7 добавлений и 1 удалений

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

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