]> git.kaiwu.me - haproxy.git/commit
MINOR: lua: export applet and task handlers
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Aug 2019 12:14:50 +0000 (14:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Aug 2019 12:32:09 +0000 (14:32 +0200)
commit60409db0b1743d670e54244425f6e08c389b7dde
tree594e72732d413699edbc65ad8000f1a503abe5d3
parenta2c9911ace8537e0a350daf8d981170a001b6c7a
MINOR: lua: export applet and task handlers

The current functions are seen outside from the debugging code and are
convenient to export so that we can improve the thread dump output :

  void hlua_applet_tcp_fct(struct appctx *ctx);
  void hlua_applet_http_fct(struct appctx *ctx);
  struct task *hlua_process_task(struct task *task, void *context, unsigned short state);

Of course they are only available when USE_LUA is defined.
include/proto/hlua.h
src/hlua.c