diff options
author | dormando <dormando@rydia.net> | 2023-01-02 17:28:15 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2023-01-02 17:28:15 -0800 |
commit | 3158e85e84909c81eeb60e719c3d582677ec32c8 (patch) | |
tree | e95038b8fecec862455595d1018b20abb74a4209 /proxy_lua.c | |
parent | d15bbb16d66263c571b3743084c8ea5249bf0718 (diff) | |
download | memcached-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