commit | 40606ab97673fb8dc78b7313faebcda5a2ede4da | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Apr 03 18:08:29 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 06 11:23:58 2015 +0200 |
tree | 1cc02d34aa81d579c3861df1f2ed1f6043e0c613 | |
parent | e36cbcb3b0de2d149c147d4e2ef1e136af3f0849 [diff] [blame] |
MINOR: session: add a pointer to the session's origin A session's origin is the entity that was responsible for creating the session. It can be an applet or a connection for now.
diff --git a/src/stream.c b/src/stream.c index 132e425..357e561 100644 --- a/src/stream.c +++ b/src/stream.c
@@ -123,6 +123,7 @@ s->sess->listener = l; s->sess->fe = p; + s->sess->origin = &cli_conn->obj_type; s->si[0].flags = SI_FL_NONE; s->si[1].flags = SI_FL_ISBACK;