summaryrefslogtreecommitdiffhomepage
path: root/src/http/v2
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2021-11-03 11:22:07 +0300
committerSergey Kandaurov <pluknet@nginx.com>2021-11-03 11:22:07 +0300
commitbbd05ae252bce1907173d13c6e48d1bed71cd9ea (patch)
tree6bca56a91f1d0a0b1c3ad4ac0d3c3ba2b4122468 /src/http/v2
parent8f8cb92e9229d75ea5816f35c6b4bfdfb253a486 (diff)
parent3334585539168947650a37d74dd32973ab451d70 (diff)
downloadnginx-bbd05ae252bce1907173d13c6e48d1bed71cd9ea.tar.gz
nginx-bbd05ae252bce1907173d13c6e48d1bed71cd9ea.tar.bz2
Merged with the default branch.
Diffstat (limited to 'src/http/v2')
-rw-r--r--src/http/v2/ngx_http_v2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/v2/ngx_http_v2.h b/src/http/v2/ngx_http_v2.h
index 65fc65812..70ee287ae 100644
--- a/src/http/v2/ngx_http_v2.h
+++ b/src/http/v2/ngx_http_v2.h
@@ -13,8 +13,7 @@
#include <ngx_http.h>
-#define NGX_HTTP_V2_ALPN_ADVERTISE "\x02h2"
-#define NGX_HTTP_V2_NPN_ADVERTISE NGX_HTTP_V2_ALPN_ADVERTISE
+#define NGX_HTTP_V2_ALPN_PROTO "\x02h2"
#define NGX_HTTP_V2_STATE_BUFFER_SIZE 16