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
+++ b/src/event/quic/ngx_event_quic.h
@@ -79,7 +79,8 @@ struct ngx_quic_stream_s {
     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; */
 };