]> git.kaiwu.me - nginx.git/commit
QUIC: create streams for STREAM_DATA_BLOCKED and MAX_STREAM_DATA.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 11 Aug 2020 16:10:57 +0000 (19:10 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 11 Aug 2020 16:10:57 +0000 (19:10 +0300)
commite97c50cdd6a33954a39fb2d0d9b116e318a26659
treea4041e7a1b00fed7a3951d5da9c5673be1c1d3fa
parent68c5d80ee5381db9ea20e2ef247153e300fe837c
QUIC: create streams for STREAM_DATA_BLOCKED and MAX_STREAM_DATA.

Creating client-initiated streams is moved from ngx_quic_handle_stream_frame()
to a separate function ngx_quic_create_client_stream().  This function is
responsible for creating streams with lower ids as well.

Also, simplified and fixed initial data buffering in
ngx_quic_handle_stream_frame().  It is now done before calling the initial
handler as the handler can destroy the stream.
src/event/ngx_event_quic.c