Skip to content

Commit 4bf23e7

Browse files
generatedunixname537391475639613meta-codesync[bot]
authored andcommitted
fbcode/proxygen/lib/http/coro
Reviewed By: hanidamlaj Differential Revision: D91467794 fbshipit-source-id: c02a612780efc27e2297a7e855ed10bf93cc422d
1 parent b7cfecf commit 4bf23e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proxygen/lib/http/coro/HTTPCoroSession.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ bool HTTPQuicCoroSession::checkAndHandlePushPromiseComplete(
957957
// This stream is awaiting the push promise
958958
auto pushID = *stream.currentPushID;
959959
stream.currentPushID.reset();
960-
StreamState* pushStreamPtr;
960+
StreamState* pushStreamPtr = nullptr;
961961
auto it = pushStreamsAwaitingPromises_.find(pushID);
962962
if (it == pushStreamsAwaitingPromises_.end()) {
963963
// stream has not yet arrived
@@ -3059,7 +3059,7 @@ folly::coro::Task<void> HTTPUniplexTransportSession::writeLoop() noexcept {
30593059
(writableStreams_.empty() || sendWindow_.getSize() == 0)) {
30603060
writeEvent_.reset();
30613061
XLOG(DBG6) << "Waiting for writeEvent sess=" << *this;
3062-
TimedBaton::Status status;
3062+
TimedBaton::Status status = TimedBaton::Status::signalled;
30633063
{
30643064
auto guard = writeExec_.acquireGuard();
30653065
status =

0 commit comments

Comments
 (0)