MINOR: hlua: Test the hlua struct first when the lua socket is connecting
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 27 Sep 2023 15:42:38 +0000 (17:42 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 4 Oct 2023 13:34:10 +0000 (15:34 +0200)
commit66fc9238f0c9860c2edd083ca87d0267faf44c5e
treebfd45074789244aede748e945b155dc94b1c4fe4
parent6f4041c75d52ddf02a57ad643ae25bc3d835cd0f
MINOR: hlua: Test the hlua struct first when the lua socket is connecting

It makes sense to first verify the hlua context is valid. It is probably
better than doing it after updated the appctx.
src/hlua.c