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@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; }