1、修复大文件LONG长度不够的问题;2、修复大文件导致未发送缓冲区超出的问题

This commit is contained in:
NH
2025-10-19 14:08:28 +08:00
parent 09131638d7
commit 1fc736c3ab
2 changed files with 70 additions and 25 deletions

View File

@@ -32,7 +32,7 @@ namespace ylib
ylib::json sjson;
private:
bool filecache(const uint64& last_modify_time);
bool fileoffset(long filesize, long& start, long& len);
bool fileoffset(long long filesize, long long& start, long long& len);
private:
std::map<std::string, std::string> m_headers;
bool m_response = false;