Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic.c @ 8674:2c7f927f7999 quic
QUIC: ngx_quic_module.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 25 Dec 2020 14:18:51 +0300 |
parents | 046c951e393a |
children | 7df607cb2d11 |
comparison
equal
deleted
inserted
replaced
8673:046c951e393a | 8674:2c7f927f7999 |
---|---|
383 size_t limit); | 383 size_t limit); |
384 static ngx_chain_t *ngx_quic_split_bufs(ngx_connection_t *c, ngx_chain_t *in, | 384 static ngx_chain_t *ngx_quic_split_bufs(ngx_connection_t *c, ngx_chain_t *in, |
385 size_t len); | 385 size_t len); |
386 | 386 |
387 | 387 |
388 static ngx_core_module_t ngx_quic_module_ctx = { | |
389 ngx_string("quic"), | |
390 NULL, | |
391 NULL | |
392 }; | |
393 | |
394 | |
395 ngx_module_t ngx_quic_module = { | |
396 NGX_MODULE_V1, | |
397 &ngx_quic_module_ctx, /* module context */ | |
398 NULL, /* module directives */ | |
399 NGX_CORE_MODULE, /* module type */ | |
400 NULL, /* init master */ | |
401 NULL, /* init module */ | |
402 NULL, /* init process */ | |
403 NULL, /* init thread */ | |
404 NULL, /* exit thread */ | |
405 NULL, /* exit process */ | |
406 NULL, /* exit master */ | |
407 NGX_MODULE_V1_PADDING | |
408 }; | |
409 | |
410 | |
388 static SSL_QUIC_METHOD quic_method = { | 411 static SSL_QUIC_METHOD quic_method = { |
389 #if BORINGSSL_API_VERSION >= 10 | 412 #if BORINGSSL_API_VERSION >= 10 |
390 ngx_quic_set_read_secret, | 413 ngx_quic_set_read_secret, |
391 ngx_quic_set_write_secret, | 414 ngx_quic_set_write_secret, |
392 #else | 415 #else |