alibaba/xquic

[Bug]: stream_read_notify may not be call

开放

#205 创建于 2022年7月8日

 (0 条评论) (1 个反应) (1 位负责人)C (389 个派生)github user discovery
:star_struck: someone working on itL2help wanted

仓库指标

星标
 (1,892 个星标)
PR 合并指标
 (平均合并 6天 19小时) (30 天内合并 50 个 PR)

描述

What happened?

xqc_stream_recv always calls xqc_stream_shutdown_read, so when a stream has received fin and then xqc_stream_recv does not consume all the data, the left data will never be notified to application.

Steps To Reproduce

Only call xqc_stream_recv once in stream_read_notify with a small buffer.

Relevant log output

No response

贡献者指南