view src/core/ngx_parse.h @ 8303:ecc0ae881a25

Clean up trailers in ngx_http_clean_header() as well. The function has not been updated with introduction of trailers support in 7034:1b068a4e82d8 (1.13.2).
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 26 Jan 2021 12:39:28 +0300
parents 41f640a693de
children
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) Nginx, Inc.
 */


#ifndef _NGX_PARSE_H_INCLUDED_
#define _NGX_PARSE_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>


ssize_t ngx_parse_size(ngx_str_t *line);
off_t ngx_parse_offset(ngx_str_t *line);
ngx_int_t ngx_parse_time(ngx_str_t *line, ngx_uint_t is_sec);


#endif /* _NGX_PARSE_H_INCLUDED_ */