Mercurial > hg > nginx-vendor-0-7
annotate src/http/modules/perl/nginx.pm @ 256:2e9c57a5e50a NGINX_0_4_13
nginx 0.4.13
*) Feature: the "proxy_pass" directive may be used inside the
"limit_except" block.
*) Feature: the "limit_except" directive supports all WebDAV methods.
*) Bugfix: if the "add_before_body" directive was used without the
"add_after_body" directive, then an response did not transferred
complete.
*) Bugfix: a large request body did not receive if the epoll method and
the deferred accept() were used.
*) Bugfix: a charset could not be set for ngx_http_autoindex_module
responses; bug appeared in 0.3.50.
*) Bugfix: the "[alert] zero size buf" error when FastCGI server was
used;
*) Bugfix: the --group= configuration parameter was ignored.
Thanks to Thomas Moschny.
*) Bugfix: the 50th subrequest in SSI response did not work; bug
appeared in 0.3.50.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 15 Nov 2006 00:00:00 +0300 |
parents | f3ec44f4a53b |
children | 6ae1357b7b7c |
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 | |
256 | 20 our $VERSION = '0.4.13'; |
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 |