Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2.c @ 7229:87e9e4aabf1b
HTTP/2: externalized various constants and interfaces.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 17 Mar 2018 23:04:20 +0300 |
parents | e80930e5e422 |
children | 190591ab0d76 |
comparison
equal
deleted
inserted
replaced
7228:0f811890f2f0 | 7229:87e9e4aabf1b |
---|---|
51 #define NGX_HTTP_V2_MAX_STREAMS_SETTING 0x3 | 51 #define NGX_HTTP_V2_MAX_STREAMS_SETTING 0x3 |
52 #define NGX_HTTP_V2_INIT_WINDOW_SIZE_SETTING 0x4 | 52 #define NGX_HTTP_V2_INIT_WINDOW_SIZE_SETTING 0x4 |
53 #define NGX_HTTP_V2_MAX_FRAME_SIZE_SETTING 0x5 | 53 #define NGX_HTTP_V2_MAX_FRAME_SIZE_SETTING 0x5 |
54 | 54 |
55 #define NGX_HTTP_V2_FRAME_BUFFER_SIZE 24 | 55 #define NGX_HTTP_V2_FRAME_BUFFER_SIZE 24 |
56 | |
57 #define NGX_HTTP_V2_DEFAULT_FRAME_SIZE (1 << 14) | |
58 | 56 |
59 #define NGX_HTTP_V2_ROOT (void *) -1 | 57 #define NGX_HTTP_V2_ROOT (void *) -1 |
60 | 58 |
61 | 59 |
62 static void ngx_http_v2_read_handler(ngx_event_t *rev); | 60 static void ngx_http_v2_read_handler(ngx_event_t *rev); |