diff options
author | Ruslan Ermilov <ru@nginx.com> | 2015-03-20 06:43:19 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2015-03-20 06:43:19 +0300 |
commit | f8d10849adcac3cbae03aa520660e7b80433bb7a (patch) | |
tree | 327d8cc4c501aac8cb37d0e1b90d7971c0877e4a /src/core/ngx_connection.c | |
parent | b6029a8a3fbe8577386a2a5e67c86700900afaf6 (diff) | |
download | nginx-f8d10849adcac3cbae03aa520660e7b80433bb7a.tar.gz nginx-f8d10849adcac3cbae03aa520660e7b80433bb7a.zip |
Removed ngx_connection_t.lock.
Diffstat (limited to 'src/core/ngx_connection.c')
-rw-r--r-- | src/core/ngx_connection.c | 12 |
1 files changed, 0 insertions, 12 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); } |