Mercurial > hg > nginx
changeset 173:4fb2a2cff023
nginx-0.0.1-2003-11-04-20:09:19 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 04 Nov 2003 17:09:19 +0000 |
parents | caa57ddf6d77 |
children | ea464a6c0581 |
files | src/core/ngx_conf_file.c src/http/ngx_http_busy_lock.h src/http/ngx_http_cache.h |
diffstat | 3 files changed, 29 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_conf_file.c Mon Nov 03 22:20:44 2003 +0000 +++ b/src/core/ngx_conf_file.c Tue Nov 04 17:09:19 2003 +0000 @@ -811,7 +811,7 @@ } 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; }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/http/ngx_http_busy_lock.h Tue Nov 04 17:09:19 2003 +0000 @@ -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_ */