Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3.h @ 7735:c9c3a73df6e8 quic
Support for HTTP/3 ALPN.
This is required by Chrome.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 23 Mar 2020 19:26:24 +0300 |
parents | e9891e8ee975 |
children | dadbc66e9fca |
comparison
equal
deleted
inserted
replaced
7734:159eb325ec82 | 7735:c9c3a73df6e8 |
---|---|
15 #include <ngx_http_v3_parse.h> | 15 #include <ngx_http_v3_parse.h> |
16 | 16 |
17 | 17 |
18 #define NGX_HTTP_V3_STREAM 0x48335354 /* "H3ST" */ | 18 #define NGX_HTTP_V3_STREAM 0x48335354 /* "H3ST" */ |
19 | 19 |
20 #define NGX_HTTP_V3_ALPN(s) NGX_HTTP_V3_ALPN_DRAFT(s) | |
21 #define NGX_HTTP_V3_ALPN_DRAFT(s) "\x05h3-" #s | |
22 #define NGX_HTTP_V3_ALPN_ADVERTISE NGX_HTTP_V3_ALPN(NGX_QUIC_DRAFT_VERSION) | |
20 | 23 |
21 #define NGX_HTTP_V3_VARLEN_INT_LEN 4 | 24 #define NGX_HTTP_V3_VARLEN_INT_LEN 4 |
22 #define NGX_HTTP_V3_PREFIX_INT_LEN 11 | 25 #define NGX_HTTP_V3_PREFIX_INT_LEN 11 |
23 | 26 |
24 #define NGX_HTTP_V3_STREAM_CONTROL 0x00 | 27 #define NGX_HTTP_V3_STREAM_CONTROL 0x00 |