-
Notifications
You must be signed in to change notification settings - Fork 476
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
client connection has been closed by peer #363
Comments
这是一封自动回复邮件。已经收到您的来信,我会尽快回复。
|
@lkxiaolou “原生 net 则不会” 是没有这个报错还是其他报错?从你的代码看,server 在 1 ms 内没有收到请求就要关闭连接,所以netpoll 报这个错误是符合预期的? |
一般你作为 server,这个值就不应该设置成 1ms 这么小 |
后续读写报错符合预期,但建立连接不应该报错 |
@lkxiaolou #364 可以试试看这个分支是否还有你的这个问题吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
仅使用 netpoll client 进行建连,当 server 设置 ReadTimeout 比较小时,例如这样:
client 压力大,调度慢时出现 client connection has been closed by peer 报错,原生 net 则不会
The text was updated successfully, but these errors were encountered: