Mercurial > hg > nginx-quic
view src/core/ngx_murmurhash.h @ 8247:1823e2152fc4 quic
QUIC: always calculate rtt for largest acknowledged packet.
Previously, when processing client ACK, rtt could be calculated for a packet
different than the largest if it was missing in the sent chain. Even though
this is an unlikely situation, rtt based on a different packet could be larger
than needed leading to bigger pto timeout and performance degradation.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 09 Dec 2020 21:26:21 +0000 |
parents | 709d7d24239d |
children |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #ifndef _NGX_MURMURHASH_H_INCLUDED_ #define _NGX_MURMURHASH_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> uint32_t ngx_murmur_hash2(u_char *data, size_t len); #endif /* _NGX_MURMURHASH_H_INCLUDED_ */