diff options
author | Ruslan Ermilov <ru@nginx.com> | 2018-01-29 16:06:33 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2018-01-29 16:06:33 +0300 |
commit | 0b8b91f45fcdd45532f8fc663f0af27711b03cea (patch) | |
tree | 9f30f563497afd48f73c71aab14c5cda5186edfc /src/http/v2/ngx_http_v2.h | |
parent | 34cf5d5e6a8e8c5ed0dea198b47448c5b33a9544 (diff) | |
download | nginx-0b8b91f45fcdd45532f8fc663f0af27711b03cea.tar.gz nginx-0b8b91f45fcdd45532f8fc663f0af27711b03cea.zip |
HTTP/2: more style, comments, and debugging.
Diffstat (limited to 'src/http/v2/ngx_http_v2.h')
-rw-r--r-- | src/http/v2/ngx_http_v2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/v2/ngx_http_v2.h b/src/http/v2/ngx_http_v2.h index 42e0eb132..de67a0145 100644 --- a/src/http/v2/ngx_http_v2.h +++ b/src/http/v2/ngx_http_v2.h @@ -49,6 +49,8 @@ #define NGX_HTTP_V2_MAX_WINDOW ((1U << 31) - 1) #define NGX_HTTP_V2_DEFAULT_WINDOW 65535 +#define NGX_HTTP_V2_DEFAULT_WEIGHT 16 + typedef struct ngx_http_v2_connection_s ngx_http_v2_connection_t; typedef struct ngx_http_v2_node_s ngx_http_v2_node_t; @@ -272,7 +274,6 @@ ngx_http_v2_queue_ordered_frame(ngx_http_v2_connection_t *h2c, void ngx_http_v2_init(ngx_event_t *rev); -void ngx_http_v2_request_headers_init(void); ngx_int_t ngx_http_v2_read_request_body(ngx_http_request_t *r); ngx_int_t ngx_http_v2_read_unbuffered_request_body(ngx_http_request_t *r); |