mirror of
https://github.com/nginx/nginx.git
synced 2025-06-20 03:51:09 +08:00
QUIC: fixed resetting stream wev->ready flag.
Previously, the flag could be reset after send_chain() with a limit, even though there was room for more data. The application then started waiting for a write event notification, which never happened. Now the wev->ready flag is only reset when flow control is exhausted.
This commit is contained in:
parent
78ec75ad2a
commit
90b19bf65d
@ -883,7 +883,7 @@ ngx_quic_stream_send_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
|
||||
|
||||
ngx_quic_queue_frame(qc, frame);
|
||||
|
||||
if (in) {
|
||||
if (flow == (off_t) n) {
|
||||
wev->ready = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user