MINOR: stream: pass the pointer to the origin explicitly to stream_new()
We don't pass sess->origin anymore but the pointer to the previous step. Now
it should be much easier to chain elements together once applets are moved out
of streams. Indeed, the session is only used for configuration and not for the
dynamic chaining anymore.
diff --git a/src/session.c b/src/session.c
index 714d15c..7189fbe 100644
--- a/src/session.c
+++ b/src/session.c
@@ -259,7 +259,7 @@
cli_conn->flags |= CO_FL_XPRT_TRACKED;
session_count_new(sess);
- strm = stream_new(sess, t);
+ strm = stream_new(sess, t, &cli_conn->obj_type);
if (!strm)
goto out_free_task;
@@ -424,7 +424,7 @@
session_count_new(sess);
task->process = sess->listener->handler;
- strm = stream_new(sess, task);
+ strm = stream_new(sess, task, &conn->obj_type);
if (!strm)
goto fail;