Commit 13ef0856 authored by Ian Roddis's avatar Ian Roddis

Changing incorrect conversion stoi to stoull. this was causing issues when...

Changing incorrect conversion stoi to stoull. this was causing issues when Content-Length was larger than 2GB
parent 79fc9b84
......@@ -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