]> git.kaiwu.me - nginx.git/commitdiff
nginx-0.0.1-2003-11-04-20:09:19 import
authorIgor Sysoev <igor@sysoev.ru>
Tue, 4 Nov 2003 17:09:19 +0000 (17:09 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 4 Nov 2003 17:09:19 +0000 (17:09 +0000)
src/core/ngx_conf_file.c
src/http/ngx_http_busy_lock.h [new file with mode: 0644]
src/http/ngx_http_cache.h

index 7214e1f144c421005595a9650ab7554550884c79..d2484bb391ceca92791c3fc70111fb90baf1758f 100644 (file)
@@ -811,7 +811,7 @@ char *ngx_conf_check_num_bounds(ngx_conf_t *cf, void *post, void *data)
         }
 
         ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
-                           "value must be more than %d", bounds->low);
+                           "value must be equal or more than %d", bounds->low);
 
         return NGX_CONF_ERROR;
     }
diff --git a/src/http/ngx_http_busy_lock.h b/src/http/ngx_http_busy_lock.h
new file mode 100644 (file)
index 0000000..551b301
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef _NGX_HTTP_BUSY_LOCK_H_INCLUDED_
+#define _NGX_HTTP_BUSY_LOCK_H_INCLUDED_
+
+
+#include <ngx_config.h>
+#include <ngx_core.h>
+#include <ngx_http.h>
+
+
+typedef struct {
+    char  *busy;
+    int    busy_n;
+
+    int    waiting_n;
+    int    max_waiting;
+
+    int    conn_n;
+    int    max_conn;
+
+    int    timeout;
+
+ /* ngx_mutex_t  mutex; */
+
+} ngx_http_busy_lock_t;
+
+
+#endif /* _NGX_HTTP_BUSY_LOCK_H_INCLUDED_ */
index f10dc992fdeb1140cb1bec047fbf0e9c3f4cd827..f9bf66196ad3646c961aeab040b58a2ac8586e93 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <ngx_config.h>
 #include <ngx_core.h>
+#include <ngx_http.h>
 
 
 typedef struct {