mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
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.
This commit is contained in:
parent
0ce77ac204
commit
b5d1141305
@ -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));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user