Remove HttpConnectionState::body

This commit is contained in:
2025-08-21 11:56:00 -04:00
parent 0b9310d560
commit 78a7549ce5
2 changed files with 4 additions and 4 deletions

View File

@@ -391,9 +391,10 @@ int HttpHandler::onHeadersComplete(llhttp_t *parser) {
}
int HttpHandler::onBody(llhttp_t *parser, const char *at, size_t length) {
auto *state = static_cast<HttpConnectionState *>(parser->data);
// Store body (simplified - would need to accumulate for streaming)
state->body = std::string_view(at, length);
[[maybe_unused]] auto *state =
static_cast<HttpConnectionState *>(parser->data);
(void)at;
(void)length;
return 0;
}