Mercurial > hg > nginx
diff src/core/ngx_connection.c @ 6031:c8acea7c7041
Removed ngx_connection_t.lock.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 20 Mar 2015 06:43:19 +0300 |
parents | 457ec43dd8d5 |
children | 94ce52db3367 |
line wrap: on
line diff
--- 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); }