Allocate the size of stream sequencer buffer block pointer container on demand. This should save 16K bytes memory per stream on the server side, as currently blocks_ in QuicStreamSequencerBuffer starts with 2048 nullptr as soon as there is any data to read.

Protected by quic_reloadable_flag_quic_allocate_stream_sequencer_buffer_blocks_on_demand.

PiperOrigin-RevId: 341541273
Change-Id: I882d09cc8b41a0874e94b46958b04562fa96e619
6 files changed
tree: b1796bd72740379c9a9a7746a649bed2b4845271
  4. common/
  5. epoll_server/
  6. http2/
  7. quic/
  8. spdy/


QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects. QUICHE is only supported on little-endian platforms.