commit | 5f77fef34e76f20fe62f3e4102559c1e0fe8f5a1 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@haproxy.com> | Mon May 29 15:26:51 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 27 14:38:02 2017 +0200 |
tree | 201f30fa920eae8b0572c0f1589b180dba390402 | |
parent | 0194897e540cec67d7d1e9281648b70efe403f08 [diff] [blame] |
MINOR: task/stream: tasks related to a stream must be init by the caller. The task_wakeup was called on stream_new, but the task/stream wasn't fully initialized yet. The task_wakeup must be called explicitly by the caller once the task/stream is initialized.
diff --git a/src/hlua.c b/src/hlua.c index b8d2c88..85e0c66 100644 --- a/src/hlua.c +++ b/src/hlua.c
@@ -2353,6 +2353,7 @@ jobs++; totalconn++; + task_wakeup(task, TASK_WOKEN_INIT); /* Return yield waiting for connection. */ return 1;