alibaba/xquic

[Bug]: stream_read_notify may not be call

Aperta

#205 aperta il 8 lug 2022

 (0 commenti) (1 reazione) (1 assegnatario)C (389 fork)github user discovery
:star_struck: someone working on ithelp wanted

Metriche repository

Star
 (1892 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor