BUG/MAJOR: applet: fix a freeze if data is immedately forwarded.
authorEmeric Brun <ebrun@haproxy.com>
Fri, 30 Jun 2017 12:11:56 +0000 (14:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Jun 2017 12:57:24 +0000 (14:57 +0200)
commit2802b07d9742ca73e73dfcbe77d74ce09565b326
treebbade11f0bacc252ac99c44f66d56d9cc3a1cdea
parenta03d4ada2611d47f4b8d4e281f1bb8b22c46f5dd
BUG/MAJOR: applet: fix a freeze if data is immedately forwarded.

Introduced regression with 'MAJOR: applet scheduler rework' (1.8-dev only).

The fix consist to re-enable the appctx immediatly from the
applet wake cb if the process_stream is not pending in runqueue
and the applet want perform a put or a get and the WAIT_ROOM
flag was removed by stream_int_notify.
src/stream_interface.c