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
Родитель 8bb7670f7e
Коммит d3ed7d0e52
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);