Mercurial > hg > nginx-quic
view src/http/v2/ngx_http_v2_huff_encode.c @ 6279:c72eaf694d99
HTTP/2: improved the ngx_http_v2_integer_octets(v) macro.
Previously, it didn't work well for 0, 127, and 128, returning less than needed.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 26 Oct 2015 17:46:16 +0300 |
parents | 257b51c37c5a |
children | ba3c2ca21aa5 |
line wrap: on
line source
/* * Copyright (C) Nginx, Inc. * Copyright (C) Valentin V. Bartenev */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h>