BUG/MEDIUM: connections: Don't reset the conn flags in *connect_server().
In the various connect_server() functions, don't reset the connection flags,
as some may have been set before. The flags are initialized in conn_init(),
anyway.
diff --git a/src/proto_tcp.c b/src/proto_tcp.c
index 3cc622a..c7951c5 100644
--- a/src/proto_tcp.c
+++ b/src/proto_tcp.c
@@ -289,7 +289,7 @@
struct proxy *be;
struct conn_src *src;
- conn->flags = CO_FL_WAIT_L4_CONN; /* connection in progress */
+ conn->flags |= CO_FL_WAIT_L4_CONN; /* connection in progress */
switch (obj_type(conn->target)) {
case OBJ_TYPE_PROXY: