Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 8247:e9891e8ee975 quic
Configurable transport parameters.
- integer parameters can be configured using the following directives:
quic_max_idle_timeout
quic_max_ack_delay
quic_max_packet_size
quic_initial_max_data
quic_initial_max_stream_data_bidi_local
quic_initial_max_stream_data_bidi_remote
quic_initial_max_stream_data_uni
quic_initial_max_streams_bidi
quic_initial_max_streams_uni
quic_ack_delay_exponent
quic_active_migration
quic_active_connection_id_limit
- only following parameters are actually sent:
active_connection_id_limit
initial_max_streams_uni
initial_max_streams_bidi
initial_max_stream_data_bidi_local
initial_max_stream_data_bidi_remote
initial_max_stream_data_uni
(other parameters are to be added into ngx_quic_create_transport_params()
function as needed, should be easy now)
- draft 24 and draft 27 are now supported
(at compile-time using quic_version macro)
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 20 Mar 2020 13:47:44 +0300 |
parents | 1e45c02f6376 |
children | 8e54a17dabee |
comparison
equal
deleted
inserted
replaced
8246:0d9bc77ae30d | 8247:e9891e8ee975 |
---|---|
339 rev->ready = 1; | 339 rev->ready = 1; |
340 } | 340 } |
341 | 341 |
342 #if (NGX_HTTP_V3) | 342 #if (NGX_HTTP_V3) |
343 if (hc->quic) { | 343 if (hc->quic) { |
344 ngx_http_v3_srv_conf_t *v3cf; | |
344 ngx_http_ssl_srv_conf_t *sscf; | 345 ngx_http_ssl_srv_conf_t *sscf; |
345 | 346 |
347 v3cf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_v3_module); | |
346 sscf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_ssl_module); | 348 sscf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_ssl_module); |
347 | 349 |
348 ngx_quic_run(c, &sscf->ssl, c->listening->post_accept_timeout, | 350 ngx_quic_run(c, &sscf->ssl, &v3cf->quic, |
351 c->listening->post_accept_timeout, | |
349 ngx_http_quic_stream_handler); | 352 ngx_http_quic_stream_handler); |
350 return; | 353 return; |
351 } | 354 } |
352 #endif | 355 #endif |
353 | 356 |