Mercurial > hg > nginx
annotate src/http/modules/perl/ngx_http_perl_module.h @ 613:c73c5c58c619 release-0.3.28
nginx-0.3.28-RELEASE import
*) Feature: the "restrict_host_names" directive was canceled.
*) Feature: the --with-cpu-opt=ppc64 configuration parameter.
*) Bugfix: on some condition the proxied connection with a client was
terminated prematurely.
Thanks to Vladimir Shutoff.
*) Bugfix: the "X-Accel-Limit-Rate" header line was not taken into
account if the request was redirected using the "X-Accel-Redirect"
header line.
*) Bugfix: the "post_action" directive ran only after a successful
completion of a request.
*) Bugfix: the proxied response body generated by the "post_action"
directive was transferred to a client.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 16 Feb 2006 15:26:46 +0000 |
parents | 869b6444d234 |
children | 51b27717f140 |
rev | line source |
---|---|
599 | 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 | |
29 ngx_http_ssi_ctx_t *ssi; | |
30 } ngx_http_perl_ctx_t; | |
31 | |
32 | |
33 extern ngx_module_t ngx_http_perl_module; | |
34 | |
35 | |
36 /* | |
37 * workaround for "unused variable `Perl___notused'" warning | |
38 * when building with perl 5.6.1 | |
39 */ | |
40 #ifndef PERL_IMPLICIT_CONTEXT | |
41 #undef dTHXa | |
42 #define dTHXa(a) | |
43 #endif | |
44 | |
45 | |
46 extern void boot_DynaLoader (pTHX_ CV* cv); | |
47 | |
48 | |
49 #endif /* _NGX_HTTP_PERL_MODULE_H_INCLUDED_ */ |