Mercurial > hg > nginx-vendor-0-6
annotate src/http/modules/perl/nginx.pm @ 182:13710a1813ad NGINX_0_3_38
nginx 0.3.38
*) Feature: the ngx_http_dav_module.
*) Change: the ngx_http_perl_module optimizations.
Thanks to Sergey Skvortsov.
*) Feature: the ngx_http_perl_module supports the $r->request_body_file
method.
*) Feature: the "client_body_in_file_only" directive.
*) Workaround: now on disk overflow nginx tries to write access logs
once a second only.
Thanks to Anton Yuzhaninov and Maxim Dounin.
*) Bugfix: now the "limit_rate" directive more precisely limits rate if
rate is more than 100 Kbyte/s.
Thanks to ForJest.
*) Bugfix: now the IMAP/POP3 proxy escapes the "\r" and "\n" symbols in
login and password to pass authorization server.
Thanks to Maxim Dounin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 14 Apr 2006 00:00:00 +0400 |
parents | 396dbbc06dd7 |
children | 003bd800ec2a |
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 | |
152 | 20 our $VERSION = '0.3.23'; |
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 |