Fixed the size value used creating a response

In case of a partial response the size of the response is different
from the served entry size.
This commit is contained in:
Veloman Yunkan 2020-05-22 16:49:35 +04:00
parent 0a30a77c08
commit 2a35a86de6
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ Response::create_redirection_mhd_response() const
MHD_Response*
Response::create_entry_mhd_response() const
{
MHD_Response* response = MHD_create_response_from_callback(m_entry.getSize(),
MHD_Response* response = MHD_create_response_from_callback(m_lenRange,
16384,
callback_reader_from_entry,
new RunningResponse(m_entry, m_startRange),