Add back reset body limit
This fixes a problem we are seeing in CI.
Was removed in 3909dc82a003893812f598434d6c4558107afa28.
Change-Id: If50b5fcf4e6106bf82be5c410fabe8211c9dec72
Tested: Code update via CI works.
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/http/http_connection.h b/http/http_connection.h
index e961255..9cf225f 100644
--- a/http/http_connection.h
+++ b/http/http_connection.h
@@ -887,6 +887,8 @@
BMCWEB_LOG_DEBUG << this << " Clearing response";
res.clear();
parser.emplace(std::piecewise_construct, std::make_tuple());
+ parser->body_limit(httpReqBodyLimit); // reset body limit for
+ // newly created parser
buffer.consume(buffer.size());
req.emplace(parser->get());