diff --git a/server_http.hpp b/server_http.hpp index 161381fc..0a83c9bc 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -500,7 +500,7 @@ namespace SimpleWeb { // If content, read that as well auto it = session->request->header.find("Content-Length"); if(it != session->request->header.end()) { - unsigned long long content_length; + unsigned long long content_length = 0; try { content_length = stoull(it->second); }