Mercurial > hg > nginx-mail
annotate src/core/ngx_regex.h @ 2:cc9f381affaa NGINX_0_1_1
nginx 0.1.1
*) Feature: the gzip_types directive.
*) Feature: the tcp_nodelay directive.
*) Feature: the send_lowat directive is working not only on OSes that
support kqueue NOTE_LOWAT, but also on OSes that support SO_SNDLOWAT.
*) Feature: the setproctitle() emulation for Linux and Solaris.
*) Bugfix: the "Location" header rewrite bug fixed while the proxying.
*) Bugfix: the ngx_http_chunked_module module may get caught in an
endless loop.
*) Bugfix: the /dev/poll module bugs fixed.
*) Bugfix: the responses were corrupted when the temporary files were
used while the proxying.
*) Bugfix: the unescaped requests were passed to the backend.
*) Bugfix: while the build configuration on Linux 2.4 the
--with-poll_module parameter was required.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 11 Oct 2004 00:00:00 +0400 |
parents | f0b350454894 |
children | e1ada20fc595 |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_REGEX_H_INCLUDED_ | |
8 #define _NGX_REGEX_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 #include <pcre.h> | |
15 | |
16 | |
17 #define NGX_REGEX_CASELESS PCRE_CASELESS | |
18 | |
19 typedef pcre ngx_regex_t; | |
20 | |
21 void ngx_regex_init(); | |
22 ngx_regex_t *ngx_regex_compile(ngx_str_t *pattern, ngx_int_t options, | |
23 ngx_pool_t *pool, ngx_str_t *err); | |
24 ngx_int_t ngx_regex_exec(ngx_regex_t *re, ngx_str_t *s, | |
25 int *matches, ngx_int_t size); | |
26 | |
27 #define ngx_regex_exec_n "pcre_exec()" | |
28 | |
29 | |
30 #endif /* _NGX_REGEX_H_INCLUDED_ */ |