summaryrefslogtreecommitdiff
path: root/proxy_lua.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2023-01-02 17:28:15 -0800
committerdormando <dormando@rydia.net>2023-01-02 17:28:15 -0800
commit3158e85e84909c81eeb60e719c3d582677ec32c8 (patch)
treee95038b8fecec862455595d1018b20abb74a4209 /proxy_lua.c
parentd15bbb16d66263c571b3743084c8ea5249bf0718 (diff)
downloadmemcached-3158e85e84909c81eeb60e719c3d582677ec32c8.tar.gz
proxy: fix crash in await during SIGHUP reloads
- The await return process uses the "main" VM to move the response into the table we will eventually return to the user. - During the reload routine a nil can be left on the top of the main VM stack. - Safest to just use top-relative indexing for most cases where we use the main VM and aren't explicitly clearing the stack beforehand.
Diffstat (limited to 'proxy_lua.c')
0 files changed, 0 insertions, 0 deletions