CLEANUP: stream.c: do not re-attach the connection to the stream
This was a leftover from the initial code, it's not needed at all
anymore.
diff --git a/src/stream.c b/src/stream.c
index e0dc824..0d9a202 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -103,18 +103,6 @@
s->logs.tv_accept = sess->tv_accept; /* corrected date for internal use */
s->uniq_id = global.req_count++;
- /* Add the minimum callbacks to prepare the connection's control layer.
- * We need this so that we can safely execute the ACLs used by the
- * "tcp-request connection" ruleset. We also carefully attach the
- * connection to the stream interface without initializing the rest,
- * so that ACLs can use si[0]->end.
- */
- si_attach_conn(&s->si[0], conn);
- conn_attach(conn, s, &sess_conn_cb);
-
- /* OK let's complete stream initialization since there is no handshake */
- conn->flags |= CO_FL_CONNECTED;
-
/* OK, we're keeping the stream, so let's properly initialize the stream */
LIST_ADDQ(&streams, &s->list);
LIST_INIT(&s->back_refs);