diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/ngx_connection.c | 12 | ||||
| -rw-r--r-- | src/core/ngx_connection.h | 4 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index 896b775c5..9152af3f7 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -943,18 +943,6 @@ ngx_close_connection(ngx_connection_t *c) } } -#if (NGX_OLD_THREADS) - - /* - * we have to clean the connection information before the closing - * because another thread may reopen the same file descriptor - * before we clean the connection - */ - - ngx_unlock(&c->lock); - -#endif - if (c->read->posted) { ngx_delete_posted_event(c->read); } diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 1867b4cbc..f1ca9619b 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -187,10 +187,6 @@ struct ngx_connection_s { #if (NGX_THREADS) ngx_thread_task_t *sendfile_task; #endif - -#if (NGX_OLD_THREADS) - ngx_atomic_t lock; -#endif }; |
