[nginx] Core: read/write locks are also required by the Stream m...

Ruslan Ermilov ru at nginx.com
Mon Oct 26 11:18:38 UTC 2015


details:   http://hg.nginx.org/nginx/rev/e769cc88f996
branches:  
changeset: 6270:e769cc88f996
user:      Piotr Sikora <piotrsikora at google.com>
date:      Fri Oct 23 18:21:33 2015 -0700
description:
Core: read/write locks are also required by the Stream module.

Signed-off-by: Piotr Sikora <piotrsikora at google.com>

diffstat:

 src/core/ngx_rwlock.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7ec809b579d7 -r e769cc88f996 src/core/ngx_rwlock.c
--- a/src/core/ngx_rwlock.c	Fri Oct 23 18:21:33 2015 -0700
+++ b/src/core/ngx_rwlock.c	Fri Oct 23 18:21:33 2015 -0700
@@ -111,7 +111,7 @@ ngx_rwlock_unlock(ngx_atomic_t *lock)
 
 #else
 
-#if (NGX_HTTP_UPSTREAM_ZONE)
+#if (NGX_HTTP_UPSTREAM_ZONE || NGX_STREAM_UPSTREAM_ZONE)
 
 #error ngx_atomic_cmp_set() is not defined!
 



More information about the nginx-devel mailing list