We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
判断if ( bytes_to_send <= bytes_have_send )感觉有问题,如图bytes_to_send表示剩余要发送的数据,bytes_have_send表示已经发送,当byes_to_send = 200, 而bytes_have_send = 800 时,也满足条件进入后返回,剩余的数据并没有发送完成,应该是否改成if(bytes_to_send<=0) ?,还是我的理解有误?
if ( bytes_to_send <= bytes_have_send )
if(bytes_to_send<=0)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
判断
if ( bytes_to_send <= bytes_have_send )
感觉有问题,如图bytes_to_send表示剩余要发送的数据,bytes_have_send表示已经发送,当byes_to_send = 200, 而bytes_have_send = 800 时,也满足条件进入后返回,剩余的数据并没有发送完成,应该是否改成if(bytes_to_send<=0)
?,还是我的理解有误?The text was updated successfully, but these errors were encountered: