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 should set vr to zero #8

Merged
merged 1 commit into from
Nov 2, 2021
Merged

Conversation

sunfuze
Copy link
Contributor

@sunfuze sunfuze commented Nov 2, 2021

WithData and Reset should reset vr to zero, or reuse ringbuffer raise slice outrange read.

gev if here handle protocol data have remains vr value, next time reuse c.buffer the vr is not equals to r then do VirtualRead will raise error.

@Allenxuxu
Copy link
Owner

WithData and Reset should reset vr to zero, or reuse ringbuffer raise slice outrange read.

gev if here handle protocol data have remains vr value, next time reuse c.buffer the vr is not equals to r then do VirtualRead will raise error.

Thank you very much, there is a bug. Would you like to create an PR for gev to fix this issue ?

@Allenxuxu Allenxuxu added the bug Something isn't working label Nov 2, 2021
@Allenxuxu Allenxuxu merged commit 7371440 into Allenxuxu:master Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants