Mercurial > hg > nginx
view src/stream/ngx_stream_quic_module.h @ 8697:faa3201ff351 quic
QUIC: improved setting the lost timer.
Setting the timer is brought into compliance with quic-recovery-34. Now it's
set from a single function ngx_quic_set_lost_timer() that takes into account
both loss detection and PTO. The following issues are fixed with this change:
- when in loss detection mode, discarding a context could turn off the
timer forever after switching to the PTO mode
- when in loss detection mode, sending a packet resulted in rescheduling the
timer as if it's always in the PTO mode
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 12 Feb 2021 14:40:33 +0300 |
parents | 893b3313f53c |
children |
line wrap: on
line source
/* * Copyright (C) Roman Arutyunyan * Copyright (C) Nginx, Inc. */ #ifndef _NGX_STREAM_QUIC_H_INCLUDED_ #define _NGX_STREAM_QUIC_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_stream.h> extern ngx_module_t ngx_stream_quic_module; #endif /* _NGX_STREAM_QUIC_H_INCLUDED_ */