diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-12-19 12:45:27 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-12-19 12:45:27 +0000 |
| commit | 1cd1e2741ab83cd7e0816e8b8ff43b3668703ea6 (patch) | |
| tree | 6a7000dd1f33ce80dfb7ec3863a4de3002f5f772 /src/http | |
| parent | e89c4581f4706187052671a8a40dda4fe3e3c391 (diff) | |
| download | nginx-1cd1e2741ab83cd7e0816e8b8ff43b3668703ea6.tar.gz nginx-1cd1e2741ab83cd7e0816e8b8ff43b3668703ea6.tar.bz2 | |
nginx-0.0.1-2003-12-19-15:45:27 import
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http.c | 6 | ||||
| -rw-r--r-- | src/http/ngx_http.h | 6 | ||||
| -rw-r--r-- | src/http/ngx_http_request.c | 3 |
3 files changed, 0 insertions, 15 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 592e1b6ca..9cb3fdc5f 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -10,12 +10,6 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); int ngx_http_max_module; -ngx_uint_t ngx_http_reading_state; -ngx_uint_t ngx_http_processing_state; -ngx_uint_t ngx_http_writing_state; -ngx_uint_t ngx_http_lingering_close_state; -ngx_uint_t ngx_http_keepalive_state; - ngx_uint_t ngx_http_total_requests; uint64_t ngx_http_total_sent; diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index 954f695b2..6edc015ad 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -89,12 +89,6 @@ extern ngx_module_t ngx_http_module; extern int ngx_max_module; -extern ngx_uint_t ngx_http_reading_state; -extern ngx_uint_t ngx_http_processing_state; -extern ngx_uint_t ngx_http_writing_state; -extern ngx_uint_t ngx_http_lingering_close_state; -extern ngx_uint_t ngx_http_keepalive_state; - extern ngx_uint_t ngx_http_total_requests; extern uint64_t ngx_http_total_sent; diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index c484d277b..396e282c0 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -107,8 +107,6 @@ void ngx_http_init_connection(ngx_connection_t *c) return; } #endif - - ngx_atomic_inc(ngx_http_reading_state); } @@ -129,7 +127,6 @@ static void ngx_http_init_request(ngx_event_t *rev) if (rev->timedout) { ngx_log_error(NGX_LOG_INFO, c->log, NGX_ETIMEDOUT, "client timed out"); - ngx_atomic_dec(ngx_http_reading_state); ngx_http_close_connection(c); return; } |
