1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud.git synced 2025-02-12 12:11:51 +00:00
This commit is contained in:
Topilski 2024-12-12 09:04:41 +03:00
parent a69e0efe67
commit 1156584283
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit ce152395c8e6eeaf6e3a09f0529cea8b6057b00c
Subproject commit b6c1d249546b3920ae6d8197e330f9aaa110b344

View file

@ -171,7 +171,8 @@ void HttpHandler::ProcessReceived(HttpClient* hclient, const char* request, size
const std::string fileName = url.ExtractFileName();
const char* mime = common::http::MimeTypes::GetType(fileName.c_str());
common::ErrnoError err = hclient->SendHeaders(protocol, common::http::HS_OK, extra_headers, mime, &sb.st_size,
size_t cast = sb.st_size;
common::ErrnoError err = hclient->SendHeaders(protocol, common::http::HS_OK, extra_headers, mime, &cast,
&sb.st_mtime, IsKeepAlive, hinf);
if (err) {
DEBUG_MSG_ERROR(err, common::logging::LOG_LEVEL_ERR);