Mercurial > hg > nginx-quic
view src/os/unix/ngx_dlopen.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 | 7142b04337d6 |
children |
line wrap: on
line source
/* * Copyright (C) Maxim Dounin * Copyright (C) Nginx, Inc. */ #ifndef _NGX_DLOPEN_H_INCLUDED_ #define _NGX_DLOPEN_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> #define ngx_dlopen(path) dlopen((char *) path, RTLD_NOW | RTLD_GLOBAL) #define ngx_dlopen_n "dlopen()" #define ngx_dlsym(handle, symbol) dlsym(handle, symbol) #define ngx_dlsym_n "dlsym()" #define ngx_dlclose(handle) dlclose(handle) #define ngx_dlclose_n "dlclose()" #if (NGX_HAVE_DLOPEN) char *ngx_dlerror(void); #endif #endif /* _NGX_DLOPEN_H_INCLUDED_ */