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

update_task被阻塞了,算BUG吗? #4

Closed
satng opened this issue Oct 6, 2016 · 1 comment
Closed

update_task被阻塞了,算BUG吗? #4

satng opened this issue Oct 6, 2016 · 1 comment

Comments

@satng
Copy link

satng commented Oct 6, 2016

描述:当客户端第一次连接的时候,在 proxy_user_request 处理时 被 SESS_KICKED_OUT了。

这时候update_task还没来的及调用,客户端还没有收到kcp的ACK包,会一直重复发数据。

qq 20161006120140
加入<-time.After(1 * time.Second) update_task才被调用。

@xtaci
Copy link
Contributor

xtaci commented Oct 8, 2016

没有关系,应用层都需要keepalive

@satng satng closed this as completed Oct 8, 2016
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

2 participants