offsetof(ngx_quic_conf_t, retry),
NULL },
+ { ngx_string("quic_stateless_reset_token_key"),
+ NGX_STREAM_MAIN_CONF|NGX_STREAM_SRV_CONF|NGX_CONF_FLAG,
+ ngx_conf_set_str_slot,
+ NGX_STREAM_SRV_CONF_OFFSET,
+ offsetof(ngx_quic_conf_t, sr_token_key),
+ NULL },
+
ngx_null_command
};
* conf->tp.retry_scid = { 0, NULL };
* conf->tp.stateless_reset_token = { 0 }
* conf->tp.preferred_address = NULL
+ * conf->sr_token_key = { 0, NULL }
* conf->require_alpn = 0;
*/
}
}
+ ngx_conf_merge_str_value(conf->sr_token_key, prev->sr_token_key, "");
+
scf = ngx_stream_conf_get_module_srv_conf(cf, ngx_stream_ssl_module);
conf->ssl = &scf->ssl;