]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: session: remove the task pointer from the session
authorWilly Tarreau <w@1wt.eu>
Sat, 4 Apr 2015 16:29:59 +0000 (18:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:37:32 +0000 (11:37 +0200)
commit32990b531bc8cf387579e8306356e72ae98bd7f7
treef998b3ccf03c2d20cc13c81ab61543d3c7e8eec9
parent02a0c0e407da00fe1b847b8c0276f1742bb8d3c4
MEDIUM: session: remove the task pointer from the session

Now that the previous changes were made, we can add a struct task
pointer to stream_complete() and get rid of it in struct session.

The new relation between connection, session and task are like this :

          orig -- sess <-- context
           |                   |
           v                   |
          conn -- owner ---> task

Some session-specific parts should now move away from stream.
include/types/session.h
src/stream.c