Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic.c @ 8747:c8bda5e1e662 quic
QUIC: headers cleanup.
The "ngx_event_quic.h" header file now contains only public definitions,
used by modules. All internal definitions are moved into
the "ngx_event_quic_connection.h" header file.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 14 Apr 2021 14:47:37 +0300 |
parents | 0c628de2e2b7 |
children | e0cb1e58ca13 |
comparison
equal
deleted
inserted
replaced
8746:0c628de2e2b7 | 8747:c8bda5e1e662 |
---|---|
5 | 5 |
6 | 6 |
7 #include <ngx_config.h> | 7 #include <ngx_config.h> |
8 #include <ngx_core.h> | 8 #include <ngx_core.h> |
9 #include <ngx_event.h> | 9 #include <ngx_event.h> |
10 #include <ngx_event_quic_transport.h> | 10 #include <ngx_sha1.h> |
11 #include <ngx_event_quic_protection.h> | |
12 #include <ngx_event_quic_connection.h> | 11 #include <ngx_event_quic_connection.h> |
13 #include <ngx_event_quic_migration.h> | |
14 #include <ngx_sha1.h> | |
15 | 12 |
16 | 13 |
17 #define ngx_quic_lost_threshold(qc) \ | 14 #define ngx_quic_lost_threshold(qc) \ |
18 ngx_max(NGX_QUIC_TIME_THR * ngx_max((qc)->latest_rtt, (qc)->avg_rtt), \ | 15 ngx_max(NGX_QUIC_TIME_THR * ngx_max((qc)->latest_rtt, (qc)->avg_rtt), \ |
19 NGX_QUIC_TIME_GRANULARITY) | 16 NGX_QUIC_TIME_GRANULARITY) |