summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2020-07-06 15:32:20 +0300
committerIgor Sysoev <igor@sysoev.ru>2020-07-06 15:32:20 +0300
commit18fbfc3d5027df68b7696afb16323c66f2582100 (patch)
tree86d4f8d59456af4c18933e1568c023857ed8b348 /src/nxt_router.h
parenta9a21f6fe41f4da4c1dcf2d9b35287d67b1fa4d1 (diff)
downloadunit-18fbfc3d5027df68b7696afb16323c66f2582100.tar.gz
unit-18fbfc3d5027df68b7696afb16323c66f2582100.tar.bz2
Destroying temporary router configuration.
The lifespan of a listening socket is longer than both router configuration's and temporary router configuration's lifespan, so the sockets should be stored in persistent queues. Safety is ensured by the fact that the router processes only one new configuration at any time.
Diffstat (limited to 'src/nxt_router.h')
-rw-r--r--src/nxt_router.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index 6004a459..d8e93be6 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -66,12 +66,6 @@ typedef struct {
typedef struct {
- nxt_queue_t creating; /* of nxt_socket_conf_t */
- nxt_queue_t pending; /* of nxt_socket_conf_t */
- nxt_queue_t updating; /* of nxt_socket_conf_t */
- nxt_queue_t keeping; /* of nxt_socket_conf_t */
- nxt_queue_t deleting; /* of nxt_socket_conf_t */
-
#if (NXT_TLS)
nxt_queue_t tls; /* of nxt_router_tlssock_t */
#endif