Perfetto tracing for /ok. Header parsing not complete

This commit is contained in:
2025-08-20 12:19:20 -04:00
parent 972d87b12e
commit cf692e71ef
6 changed files with 53 additions and 24 deletions

View File

@@ -42,6 +42,7 @@ struct HttpConnectionState {
bool connection_close = false; // Client requested connection close
HttpRoute route = HttpRoute::NotFound;
std::string_view current_header_field; // Current header being parsed
uint64_t request_id = 0; // X-Request-Id header value
explicit HttpConnectionState(ArenaAllocator &arena);
};
@@ -95,4 +96,4 @@ private:
static void sendErrorResponse(Connection &conn, int status_code,
std::string_view message,
bool close_connection = false);
};
};