Mercurial > hg > nginx-quic
view src/http/modules/ngx_http_quic_module.h @ 8078:d45961e062fa quic
QUIC: refactored ngx_quic_retry_input().
The function now returns NGX_DECLINED for packets that need to be ignored
and integrates nicely into ngx_quic_input().
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 04 Sep 2020 15:48:53 +0300 |
parents | 0d2b2664b41c |
children | e0947c952d43 |
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(s) NGX_HTTP_QUIC_ALPN_DRAFT(s) #define NGX_HTTP_QUIC_ALPN_DRAFT(s) "\x05hq-" #s #define NGX_HTTP_QUIC_ALPN_ADVERTISE NGX_HTTP_QUIC_ALPN(NGX_QUIC_DRAFT_VERSION) extern ngx_module_t ngx_http_quic_module; #endif /* _NGX_HTTP_QUIC_H_INCLUDED_ */