Mercurial > hg > nginx-mail
annotate src/http/modules/perl/nginx.pm @ 260:0effe91f6083 NGINX_0_5_0
nginx 0.5.0
*) Change: the parameters in the "%name" form in the "log_format"
directive are not supported anymore.
*) Change: the "proxy_upstream_max_fails",
"proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails",
"fastcgi_upstream_fail_timeout", "memcached_upstream_max_fails", and
"memcached_upstream_fail_timeout" directives are not supported
anymore.
*) Feature: the "server" directive in the "upstream" context supports
the "max_fails", "fail_timeout", and "down" parameters.
*) Feature: the "ip_hash" directive inside the "upstream" block.
*) Feature: the WAIT status in the "Auth-Status" header line of the
IMAP/POP3 proxy authentication server response.
*) Bugfix: nginx could not be built on 64-bit platforms; bug appeared
in 0.4.14.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 04 Dec 2006 00:00:00 +0300 |
parents | 6ae1357b7b7c |
children | e0b1d0a6c629 |
rev | line source |
---|---|
148 | 1 package nginx; |
2 | |
3 use 5.006001; | |
4 use strict; | |
5 use warnings; | |
6 | |
7 require Exporter; | |
8 | |
9 our @ISA = qw(Exporter); | |
10 | |
11 our @EXPORT = qw( | |
12 OK | |
13 DECLINED | |
14 HTTP_OK | |
15 HTTP_REDIRECT | |
16 HTTP_NOT_FOUND | |
17 HTTP_SERVER_ERROR | |
18 ); | |
19 | |
260 | 20 our $VERSION = '0.5.0'; |
148 | 21 |
22 require XSLoader; | |
23 XSLoader::load('nginx', $VERSION); | |
24 | |
25 # Preloaded methods go here. | |
26 | |
27 use constant OK => 0; | |
28 use constant DECLINED => -5; | |
29 | |
30 use constant HTTP_OK => 200; | |
31 use constant HTTP_REDIRECT => 302; | |
32 use constant HTTP_NOT_FOUND => 404; | |
33 use constant HTTP_SERVER_ERROR => 500; | |
34 | |
35 | |
36 1; | |
37 __END__ | |
38 | |
39 =head1 NAME | |
40 | |
41 nginx - Perl interface to the nginx HTTP server API | |
42 | |
43 =head1 SYNOPSIS | |
44 | |
45 use nginx; | |
46 | |
47 =head1 DESCRIPTION | |
48 | |
49 This module provides a Perl interface to the nginx HTTP server API. | |
50 | |
51 | |
52 =head1 SEE ALSO | |
53 | |
54 http://sysoev.ru/nginx/docs/http/ngx_http_perl_module.html | |
55 | |
56 =head1 AUTHOR | |
57 | |
58 Igor Sysoev | |
59 | |
60 =head1 COPYRIGHT AND LICENSE | |
61 | |
62 Copyright (C) Igor Sysoev | |
63 | |
64 | |
65 =cut |