Skip to content

Commit

Permalink
Merge branch 'tickets/DM-40097'
Browse files Browse the repository at this point in the history
  • Loading branch information
iagaponenko committed Jul 19, 2023
2 parents 5e5c5d1 + 8c799cb commit 790e379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qhttp/Response.cc
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ std::string Response::_headers() const {
headerst << r->first << " " << r->second;

auto ilength = headers.find("Content-Length");
std::size_t length = (ilength == headers.end()) ? 0 : std::stoi(ilength->second);
std::size_t length = (ilength == headers.end()) ? 0 : std::stoull(ilength->second);
LOGLS_INFO(_log, logger(_server) << logger(_socket) << headerst.str() << " + " << length << " bytes");

headerst << "\r\n";
Expand Down

0 comments on commit 790e379

Please sign in to comment.