Mercurial > hg > nginx
comparison src/core/ngx_murmurhash.h @ 9101:3bb003fcd682 quic
QUIC: keep stream sockaddr and addr_text constant.
HTTP and Stream variables $remote_addr and $binary_remote_addr rely on
constant client address, particularly because they are cacheable.
However, QUIC client may migrate to a new address. While there's no perfect
way to handle this, the proposed solution is to copy client address to QUIC
stream at stream creation.
The change also fixes truncated $remote_addr if migration happened while the
stream was active. The reason is addr_text string was copied to stream by
value.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 11 May 2023 19:40:11 +0400 |
parents | 709d7d24239d |
children |
comparison
equal
deleted
inserted
replaced
9100:cc3d24a9b76f | 9101:3bb003fcd682 |
---|