Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_quic_module.h @ 7999:0d2b2664b41c quic
QUIC: added "quic" listen parameter.
The parameter allows processing HTTP/0.9-2 over QUIC.
Also, introduced ngx_http_quic_module and moved QUIC settings there
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 21 Jul 2020 23:09:22 +0300 |
parents | |
children | e0947c952d43 |
comparison
equal
deleted
inserted
replaced
7998:f537f99b86ee | 7999:0d2b2664b41c |
---|---|
1 | |
2 /* | |
3 * Copyright (C) Nginx, Inc. | |
4 * Copyright (C) Roman Arutyunyan | |
5 */ | |
6 | |
7 | |
8 #ifndef _NGX_HTTP_QUIC_H_INCLUDED_ | |
9 #define _NGX_HTTP_QUIC_H_INCLUDED_ | |
10 | |
11 | |
12 #include <ngx_config.h> | |
13 #include <ngx_core.h> | |
14 #include <ngx_http.h> | |
15 | |
16 | |
17 #define NGX_HTTP_QUIC_ALPN(s) NGX_HTTP_QUIC_ALPN_DRAFT(s) | |
18 #define NGX_HTTP_QUIC_ALPN_DRAFT(s) "\x05hq-" #s | |
19 #define NGX_HTTP_QUIC_ALPN_ADVERTISE NGX_HTTP_QUIC_ALPN(NGX_QUIC_DRAFT_VERSION) | |
20 | |
21 | |
22 extern ngx_module_t ngx_http_quic_module; | |
23 | |
24 | |
25 #endif /* _NGX_HTTP_QUIC_H_INCLUDED_ */ |