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

catch error when we get from the network less data than we expect #76

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

Conversation

AoJ
Copy link

@AoJ AoJ commented Nov 18, 2014

On failure of the network we may come less data than we expect. When we are reading more bytes from the buffer may raise uncaught exception. This commit is converted an exception to error event.

@fengmk2
Copy link
Member

fengmk2 commented Nov 18, 2014

Can also add tests for this?

@fengmk2
Copy link
Member

fengmk2 commented Aug 10, 2015

Can add test case for this change?

@AoJ
Copy link
Author

AoJ commented Aug 10, 2015

Sorry for the delay. I'll look at it during the week.

@fengmk2
Copy link
Member

fengmk2 commented Mar 3, 2017

ping @AoJ

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