Remove HttpConnectionState::body
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user