Unverified Commit fbd6cfc5 authored by Dennis Jenkins's avatar Dennis Jenkins Committed by GitHub

Merge pull request #557 from iroddis/request_size_redux

Content-Length parsing used incorrect conversion function
parents 79fc9b84 13ef0856
......@@ -290,7 +290,7 @@ void
ContentLength::parse(const std::string& data) {
try {
size_t pos;
uint64_t val = std::stoi(data, &pos);
uint64_t val = std::stoull(data, &pos);
if (pos != 0) {
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment