Mercurial > hg > nginx-quic
comparison src/stream/ngx_stream_handler.c @ 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 | 279ad36f2f4b |
children | e96c20b6f655 |
comparison
equal
deleted
inserted
replaced
8200:279ad36f2f4b | 8201:e167c7b4cff4 |
---|