diff --git a/third-party/proxygen/src/proxygen/lib/http/sink/HTTPTunnelSink.cpp b/third-party/proxygen/src/proxygen/lib/http/sink/HTTPTunnelSink.cpp index c6c93dce439b7d..b16cd0560b8869 100644 --- a/third-party/proxygen/src/proxygen/lib/http/sink/HTTPTunnelSink.cpp +++ b/third-party/proxygen/src/proxygen/lib/http/sink/HTTPTunnelSink.cpp @@ -169,8 +169,8 @@ void HTTPTunnelSink::writeSuccess() noexcept { // If we drop below the max outstanding writes, resume egress if (outstandingWrites_ < kMaxOutstandingWrites && handlerEgressPaused_ && handler_) { - handler_->onEgressResumed(); handlerEgressPaused_ = false; + handler_->onEgressResumed(); } resetIdleTimeout(); }