Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
deanberris merged 1 commit intocpp-netlib:masterfromekigwana:comp_err
Apr 7, 2017

Conversation

@ekigwana
Copy link

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

commitf8ff77d. It is also initialized to-1 in parse_headers_real(...).Signed-off-by: Edward Kigwana <ekigwana@gmail.com>
@deanberrisdeanberris self-requested a reviewApril 6, 2017 23:09
Copy link
Member

@deanberrisdeanberris left a 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
Copy link
Author

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
Copy link
Member

LGTM

That's fine to do after, I'm happy to merge this in the meantime. :)

@deanberrisdeanberris merged commitfa76515 intocpp-netlib:masterApr 7, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@deanberrisdeanberrisdeanberris approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ekigwana@deanberris

[8]ページ先頭

©2009-2025 Movatter.jp