Mercurial > hg > nginx
view src/http/modules/ngx_http_quic_module.h @ 8680:58acdba9b3b2 quic
HTTP/3: client pseudo-headers restrictions.
- :method, :path and :scheme are expected exactly once and not empty
- :method and :scheme character validation is added
- :authority cannot appear more than once
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 22 Jan 2021 15:57:41 +0300 |
parents | e1eb7f4ca9f1 |
children | 554e11a325a9 |
line wrap: on
line source
/* * Copyright (C) Nginx, Inc. * Copyright (C) Roman Arutyunyan */ #ifndef _NGX_HTTP_QUIC_H_INCLUDED_ #define _NGX_HTTP_QUIC_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #define NGX_HTTP_QUIC_ALPN_ADVERTISE "\x02hq" #define NGX_HTTP_QUIC_ALPN_DRAFT_FMT "\x05hq-%02uD" ngx_int_t ngx_http_quic_init(ngx_connection_t *c); #endif /* _NGX_HTTP_QUIC_H_INCLUDED_ */