Mercurial > hg > nginx-mail
annotate src/http/modules/perl/nginx.pm @ 258:6ae1357b7b7c NGINX_0_4_14
nginx 0.4.14
*) Feature: the "proxy_pass_error_message" directive in IMAP/POP3 proxy.
*) Feature: now configure detects system PCRE library on FreeBSD,
Linux, and NetBSD.
*) Bugfix: ngx_http_perl_module did not work with perl built with the
threads support; bug appeared in 0.3.38.
*) Bugfix: ngx_http_perl_module did not work if perl was called
recursively.
*) Bugfix: nginx ignored a host name in an request line.
*) Bugfix: a worker process may got caught in an endless loop, if a
FastCGI server sent too many data to the stderr.
*) Bugfix: the $upstream_response_time variable may be negative if the
system time was changed backward.
*) Bugfix: the "Auth-Login-Attempt" parameter was not sent to IMAP/POP3
proxy authentication server when POP3 was used.
*) Bugfix: a segmentation fault might occur if connect to IMAP/POP3
proxy authentication server failed.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 27 Nov 2006 00:00:00 +0300 |
parents | 2e9c57a5e50a |
children | 0effe91f6083 |
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 | |
258 | 20 our $VERSION = '0.4.14'; |
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 |