From b5d1141305423bf221b554bd1349b90259afc3d7 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 17 Sep 2021 11:56:25 +0200 Subject: [PATCH] BUILD: proto_uxst: do not set unused flag Similarly to previous patch for sockpair, UNIX sockets set the CONNECT_HAS_DATA flag without using it later, we can drop it. --- src/proto_uxst.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/proto_uxst.c b/src/proto_uxst.c index efa7af951..dfc52b137 100644 --- a/src/proto_uxst.c +++ b/src/proto_uxst.c @@ -285,10 +285,6 @@ static int uxst_connect_server(struct connection *conn, int flags) return SF_ERR_INTERNAL; } - /* if a send_proxy is there, there are data */ - if (conn->send_proxy_ofs) - flags |= CONNECT_HAS_DATA; - if (global.tune.server_sndbuf) setsockopt(fd, SOL_SOCKET, SO_SNDBUF, &global.tune.server_sndbuf, sizeof(global.tune.server_sndbuf));