bump version
diff --git a/src/core/nginx.h b/src/core/nginx.h
index 5069f29..c6c0bba 100644
--- a/src/core/nginx.h
+++ b/src/core/nginx.h
@@ -8,8 +8,8 @@
 #define _NGINX_H_INCLUDED_
 
 
-#define nginx_version         8039
-#define NGINX_VERSION      "0.8.39"
+#define nginx_version         8040
+#define NGINX_VERSION      "0.8.40"
 #define NGINX_VER          "nginx/" NGINX_VERSION
 
 #define NGINX_VAR          "NGINX"
diff --git a/src/http/modules/perl/nginx.pm b/src/http/modules/perl/nginx.pm
index 460ecb7..e70bf57 100644
--- a/src/http/modules/perl/nginx.pm
+++ b/src/http/modules/perl/nginx.pm
@@ -47,7 +47,7 @@
     HTTP_INSUFFICIENT_STORAGE
 );
 
-our $VERSION = '0.8.39';
+our $VERSION = '0.8.40';
 
 require XSLoader;
 XSLoader::load('nginx', $VERSION);