summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-24 17:43:32 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-24 17:43:32 +0300
commitb84aa64dcbfb92d31cef10f2f45025a67f2418e4 (patch)
treebd7509540538801bdde233b24c0a130fbd6d757a /src/nxt_conn.h
parent8b4b52ae3b3c9400b3d7040a591203a0c1b74ec3 (diff)
downloadunit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.gz
unit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.bz2
Removed configure option --no-threads.
Diffstat (limited to 'src/nxt_conn.h')
-rw-r--r--src/nxt_conn.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nxt_conn.h b/src/nxt_conn.h
index 0062158e..33c6ad28 100644
--- a/src/nxt_conn.h
+++ b/src/nxt_conn.h
@@ -143,20 +143,13 @@ struct nxt_conn_s {
nxt_queue_t requests; /* of nxt_req_conn_link_t */
-#if (NXT_SSLTLS || NXT_THREADS)
- /* SunC does not support "zero-sized struct/union". */
-
union {
#if (NXT_SSLTLS)
void *ssltls;
#endif
-#if (NXT_THREADS)
nxt_thread_pool_t *thread_pool;
-#endif
} u;
-#endif
-
nxt_mp_t *mem_pool;
nxt_task_t task;