MEDIUM: stream-int: pause the appctx if the task is woken up
authorWilly Tarreau <w@1wt.eu>
Thu, 23 Apr 2015 09:50:43 +0000 (11:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Apr 2015 15:56:17 +0000 (17:56 +0200)
commit0b1a4541dc199abca5eb3af1ec58c239ad2a3d9b
treec04a451416b053d21faa966640bd936e3ddfb7b5
parentfe127937a8d3d198d91a989895093b1faedce809
MEDIUM: stream-int: pause the appctx if the task is woken up

If we're going to call the task we don't need to call the appctx anymore
since the task may decide differently in the end and will do the proper
thing using ->update(). This reduces one wake up call per session and
may go down to half in case of high concurrency (scheduling races).
src/stream_interface.c