[PATCH 03 of 12] QUIC: added a structure for stream limits/counters

Vladimir Homutov vl at inspert.ru
Mon Dec 25 16:52:44 UTC 2023


To simplify code dealing with stream states when both client and server
are supported, instead of 8 named fields, use two structures split into
uni/bidi and client/server.


 src/event/quic/ngx_event_quic.c            |   8 ++--
 src/event/quic/ngx_event_quic_ack.c        |   4 +-
 src/event/quic/ngx_event_quic_connection.h |  23 +++++++----
 src/event/quic/ngx_event_quic_streams.c    |  60 +++++++++++++++---------------
 4 files changed, 50 insertions(+), 45 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx-03.patch
Type: text/x-patch
Size: 10179 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20231225/c342f496/attachment-0001.bin>


More information about the nginx-devel mailing list