-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fix chunk header to be case-insensitive and allow leading zeros for end chunk #77
Conversation
@mdrost Thanks for filing this PR! It looks like your PR fixes a real bug (uppercase chunk header), but it also changes quite a bit of code that appears to be unrelated to this, so I wonder if you can give us some background here or update this to only change related code. Thanks! |
Also ping @legionth, is this also relevant for react/http? |
After fixing uppercase chunk header Wizzair site from #76 still throws exception. Wizzair terminating chunk contains 8 zeros but ChunkedStreamDecoder only looks for 1 zero. |
I think it is, will file a PR later today 👍 . |
@clue @WyriHaximus I'm currently not on my development system. I think this line: https://github.com/reactphp/http/blob/master/src/ChunkedDecoder.php#L103 |
Shouldn't it be better to have only one chunked decoder? 🤕 |
@mdrost We have plans for that |
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.
No description provided.