Mercurial > hg > nginx-vendor-0-6
annotate src/http/modules/perl/ngx_http_perl_module.h @ 178:87699398f955 NGINX_0_3_36
nginx 0.3.36
*) Feature: the ngx_http_addition_filter_module.
*) Feature: the "proxy_pass" and "fastcgi_pass" directives may be used
inside the "if" block.
*) Feature: the "proxy_ignore_client_abort" and
"fastcgi_ignore_client_abort" directives.
*) Feature: the "$request_completion" variable.
*) Feature: the ngx_http_perl_module supports the $r->request_method
and $r->remote_addr.
*) Feature: the ngx_http_ssi_module supports the "elif" command.
*) Bugfix: the "\/" string in the expression of the "if" command of the
ngx_http_ssi_module was treated incorrectly.
*) Bugfix: in the regular expressions in the "if" command of the
ngx_http_ssi_module.
*) Bugfix: if the relative path was specified in the
"client_body_temp_path", "proxy_temp_path", "fastcgi_temp_path", and
"perl_modules" directives, then the directory was used relatively to
a current path but not to a server prefix.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 05 Apr 2006 00:00:00 +0400 |
parents | fef68f68bcfd |
children | 13710a1813ad |
rev | line source |
---|---|
148 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_HTTP_PERL_MODULE_H_INCLUDED_ | |
8 #define _NGX_HTTP_PERL_MODULE_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 #include <ngx_http.h> | |
14 | |
15 #include <EXTERN.h> | |
16 #include <perl.h> | |
17 | |
18 | |
19 typedef ngx_http_request_t *nginx; | |
20 | |
21 typedef struct { | |
22 PerlInterpreter *perl; | |
23 | |
24 char *filename; | |
25 | |
26 ngx_str_t redirect_uri; | |
27 ngx_str_t redirect_args; | |
28 | |
166 | 29 #if (NGX_HTTP_SSI) |
148 | 30 ngx_http_ssi_ctx_t *ssi; |
166 | 31 #endif |
148 | 32 } ngx_http_perl_ctx_t; |
33 | |
34 | |
35 extern ngx_module_t ngx_http_perl_module; | |
36 | |
37 | |
38 /* | |
39 * workaround for "unused variable `Perl___notused'" warning | |
40 * when building with perl 5.6.1 | |
41 */ | |
42 #ifndef PERL_IMPLICIT_CONTEXT | |
43 #undef dTHXa | |
44 #define dTHXa(a) | |
45 #endif | |
46 | |
47 | |
48 extern void boot_DynaLoader (pTHX_ CV* cv); | |
49 | |
50 | |
51 #endif /* _NGX_HTTP_PERL_MODULE_H_INCLUDED_ */ |