Skip to content

receive header folding #104

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sbeckeriv
Copy link
Contributor

Dearest Reviewer,

I looked at issue #81 and found that the CRLF was adding whitespace to the text during the integer parsing. I added a trim call to the error flow and try parsing again. I did this because it appears to be the exceptional case and normal flows will not take the cost of trim with every process. I can move the trim back out.

I used the failing test that was provided.

Thanks for your time
Becker

Dearest Reviewer,

I looked at issue stalwartlabs#81 and found that the CRLF was adding whitespace
to the text during the integer parsing. I added a trim call to the
error flow and try parsing again. I did this because it appears to be
the exceptional case and normal flows will not take the cost of trim
with every process. I can move the trim back out.

I used the failing test that was provided.

Thanks for your time
Becker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant