mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-22 23:02:34 -04: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
1 changed files with 0 additions and 4 deletions
|
|
@ -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…
Reference in a new issue