[tbb-commits] [tor-browser] 36/311: Bug 1750211 - Return an error in unexpected state. r=necko-reviewers, kershaw, a=dsmith

gitolite role git at cupani.torproject.org
Tue Apr 26 15:27:16 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.

commit eee931c88856fae8feb84ece12b7419d5112973b
Author: Dragana Damjanovic <dd.mozilla at gmail.com>
AuthorDate: Wed Jan 19 16:29:39 2022 +0000

    Bug 1750211 - Return an error in unexpected state. r=necko-reviewers,kershaw, a=dsmith
    
    Differential Revision: https://phabricator.services.mozilla.com/D136005
---
 netwerk/protocol/http/Http3Stream.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/netwerk/protocol/http/Http3Stream.cpp b/netwerk/protocol/http/Http3Stream.cpp
index 679481619c5a3..bd0a61a5e5346 100644
--- a/netwerk/protocol/http/Http3Stream.cpp
+++ b/netwerk/protocol/http/Http3Stream.cpp
@@ -272,6 +272,7 @@ nsresult Http3Stream::OnReadSegment(const char* buf, uint32_t count,
       break;
     default:
       MOZ_ASSERT(false, "We are done sending this request!");
+      rv = NS_ERROR_UNEXPECTED;
       break;
   }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list