[PATCH 0 of 4] [QUIC] avoid pool allocations

Vladimir Homutov vl at nginx.com
Mon Feb 21 11:10:30 UTC 2022


  it is desirable to avoid pool allocations at early stages of quic connection
  processing. Currently, code in protection.c and tokens.c allocates memory
  dynamically, while this is not strictly necessary, as allocated objects have
  fixed size and sometimes short lifetime.  The patchset revises this cases
  and removes pool usage.

  This patchset prepares base to more lightweight early packet processing
  (parsing, retry and rejection with error without creating connection object
   and memory allocations)




More information about the nginx-devel mailing list