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

和zaver代码相同 连接处理有问题 #8

Open
charlesgreat opened this issue Mar 13, 2020 · 2 comments
Open

和zaver代码相同 连接处理有问题 #8

charlesgreat opened this issue Mar 13, 2020 · 2 comments

Comments

@charlesgreat
Copy link

如果客户端发送的数据不不完整的话 会把线程耗死
这个代码不知道是谁抄袭谁 的 和zaver的一样

@flx413
Copy link

flx413 commented Nov 28, 2020

从时间上看 zaver 要早,所以...

@Hanwn
Copy link

Hanwn commented Feb 15, 2021

如果客户端发送的数据不不完整的话 会把线程耗死

那正确的解决方法是什么呢?这样是否可行,需要将未发送完的客户端重新加入epoll监视,等待下次有数据时继续读取?

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

No branches or pull requests

3 participants