cloudwego / cloudwego/kitex

双向流,连接不存在,但 err = stream.Send 返回不了错误,err 为nil,检测不到连接断了

Open
#1,865 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
8k
Forks
918
Avg merge
1d 13h
Merged PRs (30d)
7

Description

**Describe the bug**

使用kitex grpc 双向流,连接已经通过netstat 确认不存在,但 err = stream.Send 返回不了错误,err 为nil,检测不到连接断了。

**To Reproduce**

Steps to reproduce the behavior:
很难复现,偶尔会出现。

**Expected behavior**

当双向流的连接断了后,预期err = stream.Send() , err 应该不为nil

**Kitex version: **

v0.14.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.