summaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-16 10:23:30 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-16 10:23:30 +0200
commite5d833027f7fcdef4d77d26b31b5907873331d0e (patch)
tree5526ba7c848000691b98fb4a773b23f58a1a8a7e /server.c
parentbbe3648e2108393f3132ede777c19e00a9d5a547 (diff)
Add msghdr and iovec to task buffers
Diffstat (limited to 'server.c')
-rw-r--r--server.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/server.c b/server.c
index aa865ac..cdd8202 100644
--- a/server.c
+++ b/server.c
@@ -741,11 +741,6 @@ server_new(struct cfg *cfg, const char *name)
list_init(&scfg->locals);
list_init(&scfg->proxys);
list_init(&scfg->rcons);
- memset(&scfg->mcast_iov, 0, sizeof(scfg->mcast_iov));
- scfg->mcast_iov.iov_base = scfg->mcast_buf;
- memset(&scfg->mcast_msg, 0, sizeof(scfg->mcast_msg));
- scfg->mcast_msg.msg_iov = &scfg->mcast_iov;
- scfg->mcast_msg.msg_iovlen = 1;
scfg->idle_timeout = 0;
list_add(&scfg->list, &cfg->servers);