Mercurial > hg > nginx-vendor-current
annotate src/http/modules/perl/ngx_http_perl_module.h @ 256:2e9c57a5e50a NGINX_0_4_13
nginx 0.4.13
*) Feature: the "proxy_pass" directive may be used inside the
"limit_except" block.
*) Feature: the "limit_except" directive supports all WebDAV methods.
*) Bugfix: if the "add_before_body" directive was used without the
"add_after_body" directive, then an response did not transferred
complete.
*) Bugfix: a large request body did not receive if the epoll method and
the deferred accept() were used.
*) Bugfix: a charset could not be set for ngx_http_autoindex_module
responses; bug appeared in 0.3.50.
*) Bugfix: the "[alert] zero size buf" error when FastCGI server was
used;
*) Bugfix: the --group= configuration parameter was ignored.
Thanks to Thomas Moschny.
*) Bugfix: the 50th subrequest in SSI response did not work; bug
appeared in 0.3.50.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 15 Nov 2006 00:00:00 +0300 |
parents | acd2ec3541cb |
children | 6ae1357b7b7c |
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> | |
248 | 14 #include <nginx.h> |
148 | 15 |
16 #include <EXTERN.h> | |
17 #include <perl.h> | |
18 | |
19 | |
20 typedef ngx_http_request_t *nginx; | |
21 | |
22 typedef struct { | |
23 PerlInterpreter *perl; | |
24 | |
182 | 25 ngx_str_t filename; |
148 | 26 ngx_str_t redirect_uri; |
27 ngx_str_t redirect_args; | |
230 | 28 SV *next; |
29 | |
30 ngx_uint_t done; /* unsigned done:1; */ | |
148 | 31 |
166 | 32 #if (NGX_HTTP_SSI) |
148 | 33 ngx_http_ssi_ctx_t *ssi; |
166 | 34 #endif |
148 | 35 } ngx_http_perl_ctx_t; |
36 | |
37 | |
38 extern ngx_module_t ngx_http_perl_module; | |
39 | |
40 | |
41 /* | |
42 * workaround for "unused variable `Perl___notused'" warning | |
43 * when building with perl 5.6.1 | |
44 */ | |
45 #ifndef PERL_IMPLICIT_CONTEXT | |
46 #undef dTHXa | |
47 #define dTHXa(a) | |
48 #endif | |
49 | |
50 | |
182 | 51 extern void boot_DynaLoader(pTHX_ CV* cv); |
148 | 52 |
53 | |
230 | 54 void ngx_http_perl_handle_request(ngx_http_request_t *r); |
55 | |
56 | |
148 | 57 #endif /* _NGX_HTTP_PERL_MODULE_H_INCLUDED_ */ |