Alanxtl opened a new pull request, #3592:
URL: https://github.com/apache/dubbo-go/pull/3592
### Description
Fixes #3509
The logic before bug fix
```
读超时
-> 直接返回错误
-> session 仍留在 pool
-> session 可能已经半死
-> 后续请求继续选中它
-> pending response 也可能残留
```
The logic after this pr fix
```
请求发送成功
|
等待响应超时
|
判断当前 session 已经不可信
|
从 session pool 移除
|
关闭该 session
|
清理 pending response
|
Client 保持可用,后续请求重新建立连接
```
### Checklist
- [x] I confirm the target branch is `develop`
- [x] Code has passed local testing
- [x] I have added tests that prove my fix is effective or that my feature
works
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]