aboutsummaryrefslogtreecommitdiff
path: root/www/nginx/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx/files')
-rw-r--r--www/nginx/files/extra-patch-StaticContentHandler.c15
-rw-r--r--www/nginx/files/extra-patch-ngx_http_echo_time.c20
-rw-r--r--www/nginx/files/extra-patch-ngx_http_fancyindex_module.c12
-rw-r--r--www/nginx/files/extra-patch-ngx_http_slowfs_module.c15
-rw-r--r--www/nginx/files/extra-patch-ngx_http_streaming_module.c13
5 files changed, 75 insertions, 0 deletions
diff --git a/www/nginx/files/extra-patch-StaticContentHandler.c b/www/nginx/files/extra-patch-StaticContentHandler.c
new file mode 100644
index 000000000000..60a108f77186
--- /dev/null
+++ b/www/nginx/files/extra-patch-StaticContentHandler.c
@@ -0,0 +1,15 @@
+--- ../passenger-2.2.14/ext/nginx/StaticContentHandler.c.orig 2010-06-04 14:37:15.000000000 +0400
++++ ../passenger-2.2.14/ext/nginx/StaticContentHandler.c 2010-06-07 16:59:47.000000000 +0400
+@@ -67,12 +67,6 @@
+ return NGX_DECLINED;
+ }
+
+- #if NGINX_VERSION_NUM < 8038
+- if (r->zero_in_uri) {
+- return NGX_DECLINED;
+- }
+- #endif
+-
+ log = r->connection->log;
+
+ ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0,
diff --git a/www/nginx/files/extra-patch-ngx_http_echo_time.c b/www/nginx/files/extra-patch-ngx_http_echo_time.c
new file mode 100644
index 000000000000..125a75bce5d6
--- /dev/null
+++ b/www/nginx/files/extra-patch-ngx_http_echo_time.c
@@ -0,0 +1,20 @@
+--- ../ngx_echo_module-0.30/src/ngx_http_echo_timer.c.orig 2010-06-07 16:32:51.000000000 +0400
++++ ../ngx_echo_module-0.30/src/ngx_http_echo_timer.c 2010-06-07 16:34:32.000000000 +0400
+@@ -25,7 +25,7 @@
+
+ /* force the ngx timer to update */
+
+-#if defined nginx_version && nginx_version >= 8035
++#if defined nginx_version && (nginx_version >= 8035 || nginx_version >= 7066)
+ ngx_time_update();
+ #else
+ ngx_time_update(0, 0);
+@@ -62,7 +62,7 @@
+
+ /* force the ngx timer to update */
+
+-#if defined nginx_version && nginx_version >= 8035
++#if defined nginx_version && (nginx_version >= 8035 || nginx_version >= 7066)
+ ngx_time_update();
+ #else
+ ngx_time_update(0, 0);
diff --git a/www/nginx/files/extra-patch-ngx_http_fancyindex_module.c b/www/nginx/files/extra-patch-ngx_http_fancyindex_module.c
new file mode 100644
index 000000000000..f37a86a094d7
--- /dev/null
+++ b/www/nginx/files/extra-patch-ngx_http_fancyindex_module.c
@@ -0,0 +1,12 @@
+--- ../ngx-fancyindex-0.2.2/ngx_http_fancyindex_module.c.orig 2010-05-24 17:59:08.000000000 +0400
++++ ../ngx-fancyindex-0.2.2/ngx_http_fancyindex_module.c 2010-05-24 17:59:36.000000000 +0400
+@@ -591,9 +591,6 @@
+ }
+
+ /* TODO: Win32 */
+- if (r->zero_in_uri) {
+- return NGX_DECLINED;
+- }
+
+ if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {
+ return NGX_DECLINED;
diff --git a/www/nginx/files/extra-patch-ngx_http_slowfs_module.c b/www/nginx/files/extra-patch-ngx_http_slowfs_module.c
new file mode 100644
index 000000000000..f20f4aa8d09d
--- /dev/null
+++ b/www/nginx/files/extra-patch-ngx_http_slowfs_module.c
@@ -0,0 +1,15 @@
+--- ../ngx_slowfs_cache-1.4/ngx_http_slowfs_module.c.orig 2010-06-07 17:01:32.000000000 +0400
++++ ../ngx_slowfs_cache-1.4/ngx_http_slowfs_module.c 2010-06-07 17:04:15.000000000 +0400
+@@ -809,12 +809,6 @@
+ return NGX_DECLINED;
+ }
+
+-#if defined(nginx_version) && (nginx_version < 8038)
+- if (r->zero_in_uri) {
+- return NGX_DECLINED;
+- }
+-#endif
+-
+ slowcf = ngx_http_get_module_loc_conf(r, ngx_http_slowfs_module);
+ if (!slowcf->enabled) {
+ return NGX_DECLINED;
diff --git a/www/nginx/files/extra-patch-ngx_http_streaming_module.c b/www/nginx/files/extra-patch-ngx_http_streaming_module.c
new file mode 100644
index 000000000000..3641090a9b5d
--- /dev/null
+++ b/www/nginx/files/extra-patch-ngx_http_streaming_module.c
@@ -0,0 +1,13 @@
+--- ../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c.orig 2010-05-24 18:04:43.000000000 +0400
++++ ../nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c 2010-05-24 18:05:02.000000000 +0400
+@@ -155,10 +155,6 @@
+ }
+
+ /* TODO: Win32 */
+- if (r->zero_in_uri)
+- {
+- return NGX_DECLINED;
+- }
+
+ rc = ngx_http_discard_request_body(r);
+