]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: hlua: rename hlua_appctx* appctx to luactx
authorWilly Tarreau <w@1wt.eu>
Wed, 28 Apr 2021 15:59:21 +0000 (17:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 28 Apr 2021 15:59:21 +0000 (17:59 +0200)
commit7e702d13f44a68cede269eb1ece34f93dadd2d6b
treea9ccea5657813223284265a153c7b5ea81172deb
parentb4476c6a8c27c790aa9ee8636ccaeadcf1b42999
CLEANUP: hlua: rename hlua_appctx* appctx to luactx

There is some serious confusion in the lua interface code related to
sockets and services coming from the hlua_appctx structs being called
"appctx" everywhere, and where the real appctx is reached using
appctx->appctx. This part is a bit of a pain to debug so let's rename
all occurrences of this local variable to "luactx".
src/hlua.c