Open mcelrath opened 7 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!
) and we'll verify. Thanks.
I signed it!
Calling
readyToRead
as this code does on Android causes TCP packets to be assembled in an incorrect order, resulting in stream data corruption.However it seems calling
readyToRead
on iOS is absolutely necessary, or you won't get any data at all.Fixes #14 and #26