}
}
-#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);
}
#if (NGX_THREADS)
ngx_thread_task_t *sendfile_task;
#endif
-
-#if (NGX_OLD_THREADS)
- ngx_atomic_t lock;
-#endif
};
c[i].fd = (ngx_socket_t) -1;
next = &c[i];
-
-#if (NGX_OLD_THREADS)
- c[i].lock = 0;
-#endif
} while (i);
cycle->free_connections = next;
ngx_event_save_peer_session_pt save_session;
#endif
-#if (NGX_OLD_THREADS)
- ngx_atomic_t *lock;
-#endif
-
ngx_addr_t *local;
int rcvbuf;
u->peer.log = r->connection->log;
u->peer.log_error = NGX_ERROR_ERR;
-#if (NGX_OLD_THREADS)
- u->peer.lock = &r->connection->lock;
-#endif
#if (NGX_HTTP_CACHE)
r->cache = NULL;