Mercurial > hg > nginx-vendor-0-5
annotate src/http/modules/perl/ngx_http_perl_module.h @ 330:c60beecc6ab5 NGINX_0_5_35
nginx 0.5.35
*) Change: now the ngx_http_userid_module adds start time microseconds
to the cookie field contains a pid value.
*) Change: now the uname(2) is used on Linux instead of procfs.
Thanks to Ilya Novikov.
*) Feature: the "If-Range" request header line support.
Thanks to Alexander V. Inyukhin.
*) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
error; bug appeared in 0.5.13.
*) Bugfix: the STARTTLS in SMTP mode did not work.
Thanks to Oleg Motienko.
*) Bugfix: large_client_header_buffers did not freed before going to
keep-alive state.
Thanks to Olexander Shtepa.
*) Bugfix: the "limit_rate" directive did not allow to use full
throughput, even if limit value was very high.
*) Bugfix: the $status variable was equal to 0 if a proxied server
returned response in HTTP/0.9 version.
*) Bugfix: if the "?" character was in a "error_page" directive, then
it was escaped in a proxied request; bug appeared in 0.5.32.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 08 Jan 2008 00:00:00 +0300 |
parents | 251bcd11a5b8 |
children |
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 { | |
182 | 23 ngx_str_t filename; |
148 | 24 ngx_str_t redirect_uri; |
25 ngx_str_t redirect_args; | |
266 | 26 |
230 | 27 SV *next; |
266 | 28 int sleep; |
230 | 29 |
30 ngx_uint_t done; /* unsigned done:1; */ | |
148 | 31 |
266 | 32 ngx_array_t *variables; /* array of ngx_http_perl_var_t */ |
33 | |
166 | 34 #if (NGX_HTTP_SSI) |
148 | 35 ngx_http_ssi_ctx_t *ssi; |
166 | 36 #endif |
148 | 37 } ngx_http_perl_ctx_t; |
38 | |
39 | |
266 | 40 typedef struct { |
41 ngx_uint_t hash; | |
42 ngx_str_t name; | |
43 ngx_str_t value; | |
44 } ngx_http_perl_var_t; | |
45 | |
46 | |
148 | 47 extern ngx_module_t ngx_http_perl_module; |
48 | |
49 | |
50 /* | |
51 * workaround for "unused variable `Perl___notused'" warning | |
52 * when building with perl 5.6.1 | |
53 */ | |
54 #ifndef PERL_IMPLICIT_CONTEXT | |
55 #undef dTHXa | |
56 #define dTHXa(a) | |
57 #endif | |
58 | |
59 | |
258 | 60 extern void boot_DynaLoader(pTHX_ CV* cv); |
148 | 61 |
62 | |
230 | 63 void ngx_http_perl_handle_request(ngx_http_request_t *r); |
64 | |
65 | |
148 | 66 #endif /* _NGX_HTTP_PERL_MODULE_H_INCLUDED_ */ |