projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce77ac
)
BUILD: proto_uxst: do not set unused flag
author
Willy Tarreau
<w@1wt.eu>
Fri, 17 Sep 2021 09:56:25 +0000
(11:56 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Fri, 17 Sep 2021 09:59:15 +0000
(11:59 +0200)
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
patch
|
blob
|
history
diff --git
a/src/proto_uxst.c
b/src/proto_uxst.c
index
efa7af9
..
dfc52b1
100644
(file)
--- 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));