Add one stage pipeline to /ok

This commit is contained in:
2025-08-22 14:28:17 -04:00
parent c536522f21
commit f43e623a7e
5 changed files with 52 additions and 12 deletions

View File

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