Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic.h @ 8779:f52a2b77d406 quic
QUIC: generic buffering for stream input.
Previously each stream had an input buffer. Now memory is allocated as
bytes arrive. Generic buffering mechanism is used for this.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 05 May 2021 17:15:20 +0300 |
parents | baf9551b4a5b |
children | b3f6ad181df4 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic.h Wed May 05 19:32:49 2021 +0300 +++ b/src/event/quic/ngx_event_quic.h Wed May 05 17:15:20 2021 +0300 @@ -79,7 +79,8 @@ uint64_t id; uint64_t acked; uint64_t send_max_data; - ngx_buf_t *b; + uint64_t recv_max_data; + ngx_chain_t *in; ngx_quic_frames_stream_t *fs; ngx_uint_t cancelable; /* unsigned cancelable:1; */ };