Mercurial > hg > nginx-quic
view src/core/ngx_parse_time.h @ 8038:f5a2af0e7079
Request body: optimized handling of small chunks.
If there is a previous buffer, copy small chunks into it instead of
allocating additional buffer.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 06 Aug 2020 05:02:57 +0300 |
parents | 8b6fa4842133 |
children |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #ifndef _NGX_PARSE_TIME_H_INCLUDED_ #define _NGX_PARSE_TIME_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> time_t ngx_parse_http_time(u_char *value, size_t len); /* compatibility */ #define ngx_http_parse_time(value, len) ngx_parse_http_time(value, len) #endif /* _NGX_PARSE_TIME_H_INCLUDED_ */