Skip to content
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

Reset m_pos on clearing parser buffer #30

Merged
merged 1 commit into from
Apr 2, 2018
Merged

Conversation

marfer
Copy link
Contributor

@marfer marfer commented Mar 22, 2018

On long run this parser works incorrectly after discardProcessed() got called. This will fix that issue
@dingmaotu Thank you for sharing your code with us!

On long run this cause parser to work incorrectly after `discardProcessed()` got called
Copy link
Owner

@dingmaotu dingmaotu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@dingmaotu dingmaotu merged commit 7dec5fc into dingmaotu:master Apr 2, 2018
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.

2 participants