diff --git a/src/http_handler.cpp b/src/http_handler.cpp index c5904ba..b16ddc0 100644 --- a/src/http_handler.cpp +++ b/src/http_handler.cpp @@ -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(parser->data); - // Store body (simplified - would need to accumulate for streaming) - state->body = std::string_view(at, length); + [[maybe_unused]] auto *state = + static_cast(parser->data); + (void)at; + (void)length; return 0; } diff --git a/src/http_handler.hpp b/src/http_handler.hpp index 20a16cc..ca5ff62 100644 --- a/src/http_handler.hpp +++ b/src/http_handler.hpp @@ -34,7 +34,6 @@ struct HttpConnectionState { // Current request data (arena-allocated) std::string_view method; std::string_view url; - std::string_view body; // Parse state bool headers_complete = false;