Skip to content

admin: streaming C++ API #31755

@jmarantz

Description

@jmarantz

Currently the admin API is designed so the implementation must collect and return the entire response in one contiguous block. This means that very long responses such as /stats and /config_dump may introduce significant delay and memory pressure.

Specificallly:

void adminRequest(absl::string_view path_and_query, absl::string_view method,

virtual Http::Code request(absl::string_view path_and_query, absl::string_view method,

These two interfaces should be changed so they allow for streaming. Note that we have a dependence on the current non-streaming versions so we might need to have both old and new versions at least temporarily.

This is related to #31082

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions