comparison src/os/unix/ngx_udp_sendmsg_chain.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 d127837c714f
children 2dfd313f22f2 cfe1284e5d1d
comparison
equal deleted inserted replaced
8200:279ad36f2f4b 8201:e167c7b4cff4