From e5d833027f7fcdef4d77d26b31b5907873331d0e Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 16 Jun 2020 10:23:30 +0200 Subject: Add msghdr and iovec to task buffers --- server.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'server.c') 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); -- cgit v1.2.3