diff --git a/src/HttpResponse.h b/src/HttpResponse.h index bf4d381..8b04196 100644 --- a/src/HttpResponse.h +++ b/src/HttpResponse.h @@ -420,7 +420,7 @@ public: /* End without a body (no content-length) or end with a spoofed content-length. */ void endWithoutBody(std::optional reportedContentLength = std::nullopt, bool closeConnection = false) { if (reportedContentLength.has_value()) { - //internalEnd({nullptr, 0}, reportedContentLength.value(), false, true, closeConnection); + internalEnd({nullptr, 0}, reportedContentLength.value(), false, true, closeConnection); } else { internalEnd({nullptr, 0}, 0, false, false, closeConnection); }