alibaba/xquic

[Bug]: stream_read_notify may not be call

オープン

#205 opened on 2022/07/08

 (0 件のコメント) (1 件のリアクション) (1 人の担当者)C (389 件のフォーク)github user discovery
:star_struck: someone working on ithelp wanted

Repository metrics

Stars
 (1,892 個のスター)
PR merge metrics
 (平均マージ 6d 19h) (30d で 50 merged PRs)

説明

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

コントリビューターガイド