Add one stage pipeline to /ok
This commit is contained in:
@@ -113,8 +113,12 @@ void HttpHandler::on_data_arrived(std::string_view data,
|
||||
break;
|
||||
}
|
||||
|
||||
// Connection state will be reset when appropriate by the server
|
||||
// For now, we don't reset immediately since messages may still be queued
|
||||
{
|
||||
auto guard = ok_pipeline.push(1, true);
|
||||
for (auto &c : guard.batch) {
|
||||
c = std::move(conn_ptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user