- Notifications
You must be signed in to change notification settings - Fork425
content_length type comparison error#753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
commitf8ff77d. It is also initialized to-1 in parse_headers_real(...).Signed-off-by: Edward Kigwana <ekigwana@gmail.com>
deanberris left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks@ekigwana -- it's not a blocker, but have you thought about how hard it would be if we used an optional<size_t> instead for the content length? That way we don't need to do funny things with casting the value.
If that's going to take longer or more effort then I'm fine with this in the meantime.
ekigwana commentedApr 7, 2017
I have not looked at it but it seems easy enough to do. I'll need a few days. Put this request on hold for a bit please. |
deanberris commentedApr 7, 2017
LGTM That's fine to do after, I'm happy to merge this in the meantime. :) |
Type was std::size_t and was changed to long long in commitf8ff77d. It is also initialized to
-1 in parse_headers_real(...) to help determine parse error.
Signed-off-by: Edward Kigwanaekigwana@gmail.com