Perfetto tracing for /ok. Header parsing not complete
This commit is contained in:
@@ -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);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user