Bug 1467102 - Fix the ftp diversion. r=bagder a=lizzard
authorDragana Damjanovic <dd.mozilla@gmail.com>
Wed, 11 Jul 2018 10:01:43 -0400
changeset 477953 f98d084dff6c
parent 477952 825a33b82f47
child 477954 54ec00f46350
push id9475
push userarchaeopteryx@coole-files.de
push date2018-07-13 21:33 +0000
treeherdermozilla-beta@d7ab2f3df084 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbagder, lizzard
bugs1467102
milestone62.0
Bug 1467102 - Fix the ftp diversion. r=bagder a=lizzard
netwerk/protocol/ftp/nsFTPChannel.h
--- a/netwerk/protocol/ftp/nsFTPChannel.h
+++ b/netwerk/protocol/ftp/nsFTPChannel.h
@@ -38,16 +38,17 @@ public:
     NS_DECL_NSICHANNELWITHDIVERTABLEPARENTLISTENER
 
     nsFtpChannel(nsIURI *uri, nsIProxyInfo *pi)
         : mProxyInfo(pi)
         , mStartPos(0)
         , mResumeRequested(false)
         , mLastModifiedTime(0)
         , mForcePending(false)
+        , mSuspendCount(0)
     {
         SetURI(uri);
     }
 
     void UpdateURI(nsIURI *aURI) {
         MOZ_DIAGNOSTIC_ASSERT(NS_IsMainThread(), "Not thread-safe.");
         mURI = aURI;
     }