alibaba/xquic

[Bug]: stream_read_notify may not be call

Offen

#205 geöffnet am 08.07.2022

 (0 Kommentare) (1 Reaktion) (1 zugewiesene Person)C (389 Forks)github user discovery
:star_struck: someone working on itL2help wanted

Repository-Metriken

Stars
 (1.892 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 19h) (50 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide