#4147: missing \r\n when setting trailer header in chunked response

This commit is contained in:
Günter Obiltschnig 2023-10-02 09:54:52 +02:00
parent 58af2ebc46
commit 1b95d53804

View File

@ -59,10 +59,7 @@ void HTTPChunkedStreamBuf::close()
HTTPOutputStream hos(_session);
_pTrailer->write(hos);
}
else
{
_session.write("\r\n", 2);
}
_session.write("\r\n", 2);
}
}