Commit 473b03e8 authored by Ciarán Ó Rourke's avatar Ciarán Ó Rourke
Browse files

Fixed typos

parent 801b7295
......@@ -106,10 +106,10 @@ void GetRequestHandler::readFile(folly::EventBase* evb)
return;
}
evb->runInEventBaseThread([this, body=buf] () mutable {
evb->runInEventBaseThread([this, body=std::move(buf)] () mutable {
proxygen::ResponseBuilder(downstream_)
.body(std::move(body))
.send();
.body(std::move(body))
.send();
});
}
......@@ -148,14 +148,14 @@ void GetRequestHandler::onUpgrade(proxygen::UpgradeProtocol /*protocol*/) noexce
void GetRequestHandler::requestComplete() noexcept
{
finished_ = true;
paused = true;
paused_ = true;
checkForCompletion();
}
void GetRequestHandler::onError(proxygen::ProxygenError /*err*/) noexcept
{
finished_ = true;
paused = true;
paused_ = true;
checkForCompletion();
}
......@@ -163,7 +163,7 @@ bool GetRequestHandler::checkForCompletion() {
if (finished_ && !readFileScheduled_) {
VLOG(4) << "deleting GetRequestHandler";
delete this;
retur true;
return true;
}
return false;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment