Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2.h @ 8889:61d0fa67b55e quic
Merged with the default branch.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 03 Nov 2021 11:22:07 +0300 |
parents | d4a6c03cfcb6 61abb35bb8cf |
children | 5c86189a1c1b |
comparison
equal
deleted
inserted
replaced
8888:6d1488b62dc5 | 8889:61d0fa67b55e |
---|---|
11 #include <ngx_config.h> | 11 #include <ngx_config.h> |
12 #include <ngx_core.h> | 12 #include <ngx_core.h> |
13 #include <ngx_http.h> | 13 #include <ngx_http.h> |
14 | 14 |
15 | 15 |
16 #define NGX_HTTP_V2_ALPN_ADVERTISE "\x02h2" | 16 #define NGX_HTTP_V2_ALPN_PROTO "\x02h2" |
17 #define NGX_HTTP_V2_NPN_ADVERTISE NGX_HTTP_V2_ALPN_ADVERTISE | |
18 | 17 |
19 #define NGX_HTTP_V2_STATE_BUFFER_SIZE 16 | 18 #define NGX_HTTP_V2_STATE_BUFFER_SIZE 16 |
20 | 19 |
21 #define NGX_HTTP_V2_DEFAULT_FRAME_SIZE (1 << 14) | 20 #define NGX_HTTP_V2_DEFAULT_FRAME_SIZE (1 << 14) |
22 #define NGX_HTTP_V2_MAX_FRAME_SIZE ((1 << 24) - 1) | 21 #define NGX_HTTP_V2_MAX_FRAME_SIZE ((1 << 24) - 1) |