aboutsummaryrefslogtreecommitdiff
path: root/www/freenginx/files/extra-patch-ngx_http_mogilefs_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/freenginx/files/extra-patch-ngx_http_mogilefs_module.c')
-rw-r--r--www/freenginx/files/extra-patch-ngx_http_mogilefs_module.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/freenginx/files/extra-patch-ngx_http_mogilefs_module.c b/www/freenginx/files/extra-patch-ngx_http_mogilefs_module.c
new file mode 100644
index 000000000000..423483869d57
--- /dev/null
+++ b/www/freenginx/files/extra-patch-ngx_http_mogilefs_module.c
@@ -0,0 +1,12 @@
+--- ../nginx_mogilefs_module-1.0.4/ngx_http_mogilefs_module.c.orig 2015-04-21 21:16:22.251692000 +0300
++++ ../nginx_mogilefs_module-1.0.4/ngx_http_mogilefs_module.c 2015-04-21 21:16:39.460724000 +0300
+@@ -316,9 +316,6 @@
+
+ u->peer.log = r->connection->log;
+ u->peer.log_error = NGX_ERROR_ERR;
+-#if (NGX_THREADS)
+- u->peer.lock = &r->connection->lock;
+-#endif
+
+ u->output.tag = (ngx_buf_tag_t) &ngx_http_mogilefs_module;
+