Mercurial > hg > nginx-vendor-current
annotate src/core/ngx_parse.h @ 602:c5122335e41d NGINX_0_8_53
nginx 0.8.53
*) Feature: now the "error_page" directive allows to change a status
code in a redirect.
*) Feature: the "gzip_disable" directive supports special "degradation"
mask.
*) Bugfix: a socket leak might occurred if file AIO was used.
Thanks to Maxim Dounin.
*) Bugfix: if the first server had no "listen" directive and there was
no explicit default server, then a next server with a "listen"
directive became the default server; the bug had appeared in 0.8.21.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 18 Oct 2010 00:00:00 +0400 |
parents | 6639b93e81b2 |
children | 6f21ae02fb01 |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_PARSE_H_INCLUDED_ | |
8 #define _NGX_PARSE_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 | |
15 #define NGX_PARSE_LARGE_TIME -2 | |
16 | |
17 | |
112 | 18 ssize_t ngx_parse_size(ngx_str_t *line); |
212 | 19 off_t ngx_parse_offset(ngx_str_t *line); |
372 | 20 ngx_int_t ngx_parse_time(ngx_str_t *line, ngx_uint_t sec); |
0 | 21 |
22 | |
23 #endif /* _NGX_PARSE_H_INCLUDED_ */ |