mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-22 17:15:18 -04:00
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:
1 parent
0a30a77c08
commit
2a35a86de6
1 file changed
+1
-1
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user