diff options
| author | Vladimir Homutov <vl@nginx.com> | 2022-01-18 12:49:55 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2022-01-18 12:49:55 +0300 |
| commit | 1f97aa71ecaa75dfd646495a13534b10405b500c (patch) | |
| tree | cce31e1e2566019fbd199dec9784a3bc597064a0 /src/event/quic/ngx_event_quic_transport.c | |
| parent | 8a67a56091a04055edee4d551e78beacaf79c17a (diff) | |
| download | nginx-1f97aa71ecaa75dfd646495a13534b10405b500c.tar.gz nginx-1f97aa71ecaa75dfd646495a13534b10405b500c.tar.bz2 | |
QUIC: the "quic_active_connection_id_limit" directive.
The directive sets corresponding transport parameter and limits number of
created client ids.
Diffstat (limited to 'src/event/quic/ngx_event_quic_transport.c')
| -rw-r--r-- | src/event/quic/ngx_event_quic_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_transport.c b/src/event/quic/ngx_event_quic_transport.c index 0ff42de2d..949d2691b 100644 --- a/src/event/quic/ngx_event_quic_transport.c +++ b/src/event/quic/ngx_event_quic_transport.c @@ -1974,7 +1974,7 @@ ngx_quic_init_transport_params(ngx_quic_tp_t *tp, ngx_quic_conf_t *qcf) tp->max_ack_delay = NGX_QUIC_DEFAULT_MAX_ACK_DELAY; tp->ack_delay_exponent = NGX_QUIC_DEFAULT_ACK_DELAY_EXPONENT; - tp->active_connection_id_limit = 2; + tp->active_connection_id_limit = qcf->active_connection_id_limit; tp->disable_active_migration = qcf->disable_active_migration; return NGX_OK; |
