view src/http/modules/ngx_http_quic_module.h @ 8232:b80d9179ba2a quic

HTTP/3: finalize chunked response body chain with NULL. Unfinalized chain could result in segfault. The problem was introduced in ef83990f0e25. Patch by Andrey Kolyshkin.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 17 Nov 2020 21:12:36 +0000
parents e0947c952d43
children e1eb7f4ca9f1
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"


extern ngx_module_t  ngx_http_quic_module;


#endif /* _NGX_HTTP_QUIC_H_INCLUDED_ */