comparison src/http/modules/perl/ngx_http_perl_module.h @ 266:251bcd11a5b8 NGINX_0_5_3

nginx 0.5.3 *) Feature: the ngx_http_perl_module supports the $r->status, $r->log_error, and $r->sleep methods. *) Feature: the $r->variable method supports variables that do not exist in nginx configuration. *) Bugfix: the $r->has_request_body method did not work.
author Igor Sysoev <http://sysoev.ru>
date Wed, 13 Dec 2006 00:00:00 +0300
parents 6ae1357b7b7c
children babd3d9efb62
comparison
equal deleted inserted replaced
265:3d4634b3b321 266:251bcd11a5b8
21 21
22 typedef struct { 22 typedef struct {
23 ngx_str_t filename; 23 ngx_str_t filename;
24 ngx_str_t redirect_uri; 24 ngx_str_t redirect_uri;
25 ngx_str_t redirect_args; 25 ngx_str_t redirect_args;
26
26 SV *next; 27 SV *next;
28 int sleep;
27 29
28 ngx_uint_t done; /* unsigned done:1; */ 30 ngx_uint_t done; /* unsigned done:1; */
31
32 ngx_array_t *variables; /* array of ngx_http_perl_var_t */
29 33
30 #if (NGX_HTTP_SSI) 34 #if (NGX_HTTP_SSI)
31 ngx_http_ssi_ctx_t *ssi; 35 ngx_http_ssi_ctx_t *ssi;
32 #endif 36 #endif
33 } ngx_http_perl_ctx_t; 37 } ngx_http_perl_ctx_t;
38
39
40 typedef struct {
41 ngx_uint_t hash;
42 ngx_str_t name;
43 ngx_str_t value;
44 } ngx_http_perl_var_t;
34 45
35 46
36 extern ngx_module_t ngx_http_perl_module; 47 extern ngx_module_t ngx_http_perl_module;
37 48
38 49