Add test that shows parsing issue
It's meant to show the pipelining issue. I guess we'll solve the newly-discovered parsing issue first.
This commit is contained in:
@@ -128,7 +128,7 @@ struct Connection : MessageSender {
|
||||
* ```
|
||||
*/
|
||||
void append_message(std::span<std::string_view> data_parts, Arena arena,
|
||||
bool close_after_send = false) override;
|
||||
bool close_after_send) override;
|
||||
|
||||
/**
|
||||
* @brief Get a WeakRef to this connection for async operations.
|
||||
|
||||
@@ -426,7 +426,7 @@ void HttpHandler::handle_get_metrics(Connection &conn,
|
||||
for (auto sv : metrics_span) {
|
||||
*out++ = sv;
|
||||
}
|
||||
conn.append_message(result, std::move(state.arena));
|
||||
conn.append_message(result, std::move(state.arena), state.connection_close);
|
||||
state.reset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user