diff options
author | Roman Arutyunyan <arut@nginx.com> | 2021-12-10 19:43:50 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2021-12-10 19:43:50 +0300 |
commit | 6ea39f03ae182e5455e2fbf0a39aabc9c150c377 (patch) | |
tree | 1cbf797fc12b55763855ae436b8278e1d7687edb /src/os/unix/ngx_socket.h | |
parent | 59312ddac1afe8acc28a3cfc4786d42d057b4934 (diff) | |
download | nginx-6ea39f03ae182e5455e2fbf0a39aabc9c150c377.tar.gz nginx-6ea39f03ae182e5455e2fbf0a39aabc9c150c377.zip |
QUIC: simplified stream initialization.
After creation, a client stream is added to qc->streams.uninitialized queue.
After initialization it's removed from the queue. If a stream is never
initialized, it is freed in ngx_quic_close_streams(). Stream initializer
is now set as read event handler in stream connection.
Previously qc->streams.uninitialized was used only for delayed stream
initialization.
The change makes it possible not to handle separately the case of a new stream
in stream-related frame handlers. It makes these handlers simpler since new
streams and existing streams are now handled by the same code.
Diffstat (limited to 'src/os/unix/ngx_socket.h')
0 files changed, 0 insertions, 0 deletions