Bug 1297663 - Backout bug 1264566 a=backout
authorValentin Gosu <valentin.gosu@gmail.com>
Wed, 31 Aug 2016 15:39:36 +0200
changeset 353361 53648698037586ee855b16ba6187d904cc6817cd
parent 353360 f01400430d4997724162564efcdb4f45e0cdca27
child 353362 9e20e6e53428e544810f60b8222b60d3c2f52459
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1297663, 1264566
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1297663 - Backout bug 1264566 a=backout MozReview-Commit-ID: L9poncnpmGs
netwerk/protocol/http/HttpChannelChild.cpp
--- a/netwerk/protocol/http/HttpChannelChild.cpp
+++ b/netwerk/protocol/http/HttpChannelChild.cpp
@@ -852,20 +852,17 @@ HttpChannelChild::MaybeDivertOnStop(cons
 
 void
 HttpChannelChild::OnStopRequest(const nsresult& channelStatus,
                                 const ResourceTimingStruct& timing)
 {
   LOG(("HttpChannelChild::OnStopRequest [this=%p status=%x]\n",
        this, channelStatus));
 
-  if (mUploadStream) {
-    mUploadStream->Close();
-    mUploadStream = nullptr;
-  }
+  mUploadStream = nullptr;
 
   if (mDivertingToParent) {
     MOZ_RELEASE_ASSERT(!mFlushedForDiversion,
       "Should not be processing any more callbacks from parent!");
 
     SendDivertOnStopRequest(channelStatus);
     return;
   }