diff src/stream/ngx_stream_quic_module.h @ 8201:e167c7b4cff4 quic

QUIC: reallocate qc->dcid on retry. Previously new dcid was generated in the same memory that was allocated for qc->dcid when creating the QUIC connection. However this memory was also referenced by initial_source_connection_id and retry_source_connection_id transport parameters. As a result these parameters changed their values after retry which broke the protocol.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 11 Nov 2020 17:56:02 +0000
parents 893b3313f53c
children
line wrap: on
line diff