summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/nsHttpConnectionMgr.cpp
diff options
context:
space:
mode:
authorHonza Bambas <honzab.moz@firemni.cz>2019-07-19 17:28:56 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-07-19 17:28:56 +0200
commitb0a8ed215774469e1d5476d670bb9e2ccbd23ed8 (patch)
treeb55ceb7051955b6d42064f8481cfc7ee49529caf /netwerk/protocol/http/nsHttpConnectionMgr.cpp
parent15aff51ed922a54b02f638e6847f2fa040f7dd2c (diff)
downloadUXP-b0a8ed215774469e1d5476d670bb9e2ccbd23ed8.tar
UXP-b0a8ed215774469e1d5476d670bb9e2ccbd23ed8.tar.gz
UXP-b0a8ed215774469e1d5476d670bb9e2ccbd23ed8.tar.lz
UXP-b0a8ed215774469e1d5476d670bb9e2ccbd23ed8.tar.xz
UXP-b0a8ed215774469e1d5476d670bb9e2ccbd23ed8.zip
Bug 1550498.
Diffstat (limited to 'netwerk/protocol/http/nsHttpConnectionMgr.cpp')
-rw-r--r--netwerk/protocol/http/nsHttpConnectionMgr.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/netwerk/protocol/http/nsHttpConnectionMgr.cpp b/netwerk/protocol/http/nsHttpConnectionMgr.cpp
index 28df405ad..dff08088a 100644
--- a/netwerk/protocol/http/nsHttpConnectionMgr.cpp
+++ b/netwerk/protocol/http/nsHttpConnectionMgr.cpp
@@ -504,9 +504,13 @@ nsHttpConnectionMgr::UpdateParam(nsParamName name, uint16_t value)
}
nsresult
-nsHttpConnectionMgr::ProcessPendingQ(nsHttpConnectionInfo *ci)
+nsHttpConnectionMgr::ProcessPendingQ(nsHttpConnectionInfo* aCI)
{
- LOG(("nsHttpConnectionMgr::ProcessPendingQ [ci=%s]\n", ci->HashKey().get()));
+ LOG(("nsHttpConnectionMgr::ProcessPendingQ [ci=%s]\n", aCI->HashKey().get()));
+ RefPtr<nsHttpConnectionInfo> ci;
+ if (aCI) {
+ ci = aCI->Clone();
+ }
return PostEvent(&nsHttpConnectionMgr::OnMsgProcessPendingQ, 0, ci);
}