Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3_module.c @ 7681:38c0898b6df7 quic
HTTP/3.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 13 Mar 2020 19:36:33 +0300 |
parents | |
children | e9891e8ee975 |
comparison
equal
deleted
inserted
replaced
7680:6fd2cce50fe2 | 7681:38c0898b6df7 |
---|---|
1 | |
2 /* | |
3 * Copyright (C) Nginx, Inc. | |
4 * Copyright (C) Roman Arutyunyan | |
5 */ | |
6 | |
7 | |
8 #include <ngx_config.h> | |
9 #include <ngx_core.h> | |
10 #include <ngx_http.h> | |
11 | |
12 | |
13 static ngx_command_t ngx_http_v3_commands[] = { | |
14 ngx_null_command | |
15 }; | |
16 | |
17 | |
18 static ngx_http_module_t ngx_http_v3_module_ctx = { | |
19 NULL, /* preconfiguration */ | |
20 NULL, /* postconfiguration */ | |
21 | |
22 NULL, /* create main configuration */ | |
23 NULL, /* init main configuration */ | |
24 | |
25 NULL, /* create server configuration */ | |
26 NULL, /* merge server configuration */ | |
27 | |
28 NULL, /* create location configuration */ | |
29 NULL /* merge location configuration */ | |
30 }; | |
31 | |
32 | |
33 ngx_module_t ngx_http_v3_module = { | |
34 NGX_MODULE_V1, | |
35 &ngx_http_v3_module_ctx, /* module context */ | |
36 ngx_http_v3_commands, /* module directives */ | |
37 NGX_HTTP_MODULE, /* module type */ | |
38 NULL, /* init master */ | |
39 NULL, /* init module */ | |
40 NULL, /* init process */ | |
41 NULL, /* init thread */ | |
42 NULL, /* exit thread */ | |
43 NULL, /* exit process */ | |
44 NULL, /* exit master */ | |
45 NGX_MODULE_V1_PADDING | |
46 }; |