aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/perl
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-01-24 16:08:27 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-01-24 16:08:27 +0000
commit34303468409089ef2b5bd9739b9c049c393932e4 (patch)
tree1e47f167cd74beaeca64d863662ed1e82d2cf822 /src/http/modules/perl
parentd94e18746b9e79fbb52cf3012d1692ad893df22e (diff)
downloadnginx-release-0.3.23.tar.gz
nginx-release-0.3.23.zip
nginx-0.3.23-RELEASE importrelease-0.3.23
*) Feature: the "optimize_host_names" directive. *) Bugfix: in using of the variables in the "path" and "alias" directives. *) Bugfix: the ngx_http_perl_module was incorrectly built on Linux and Solaris.
Diffstat (limited to 'src/http/modules/perl')
-rw-r--r--src/http/modules/perl/nginx.pm2
-rw-r--r--src/http/modules/perl/nginx.xs6
2 files changed, 3 insertions, 5 deletions
diff --git a/src/http/modules/perl/nginx.pm b/src/http/modules/perl/nginx.pm
index c0f3f27eb..d87b2ec78 100644
--- a/src/http/modules/perl/nginx.pm
+++ b/src/http/modules/perl/nginx.pm
@@ -17,7 +17,7 @@ our @EXPORT = qw(
HTTP_SERVER_ERROR
);
-our $VERSION = '0.3.22';
+our $VERSION = '0.3.23';
require XSLoader;
XSLoader::load('nginx', $VERSION);
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
index d41bf684f..c24788c70 100644
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -6,15 +6,13 @@
#define PERL_NO_GET_CONTEXT
-#include "EXTERN.h"
-#include "perl.h"
-#include "XSUB.h"
-
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include <ngx_http_perl_module.h>
+#include "XSUB.h"
+
static ngx_int_t
ngx_http_perl_sv2str(pTHX_ ngx_http_request_t *r, ngx_str_t *s, SV *sv)