# HG changeset patch # User Igor Sysoev # Date 1067965759 0 # Node ID 4fb2a2cff023675c6e1207803f6244560e7f33b1 # Parent caa57ddf6d7714f538928b768f81e0d801c843f2 nginx-0.0.1-2003-11-04-20:09:19 import diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -811,7 +811,7 @@ char *ngx_conf_check_num_bounds(ngx_conf } 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 --- /dev/null +++ b/src/http/ngx_http_busy_lock.h @@ -0,0 +1,27 @@ +#ifndef _NGX_HTTP_BUSY_LOCK_H_INCLUDED_ +#define _NGX_HTTP_BUSY_LOCK_H_INCLUDED_ + + +#include +#include +#include + + +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_ */ diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h --- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -4,6 +4,7 @@ #include #include +#include typedef struct {