diff options
author | dormando <dormando@rydia.net> | 2022-03-02 19:30:26 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-03-02 19:32:20 -0800 |
commit | 1d825ef0a539e03db69984a89a6d47ee5d4d27ee (patch) | |
tree | 8f361189f9fee0a86a33a0c5f820b99cba4b8f76 /proxy.h | |
parent | 31ccfc19fcbe15a5f40c559483c4c95082781ece (diff) | |
download | memcached-1d825ef0a539e03db69984a89a6d47ee5d4d27ee.tar.gz |
proxy: allow await() to be called recursively
previously mcp.await() only worked if it was called before any other
dispatches.
also fixes a bug if the supplied pool table was key=value instead of an
array-type table.
Diffstat (limited to 'proxy.h')
-rw-r--r-- | proxy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -440,7 +440,7 @@ enum mcp_await_e { AWAIT_FIRST, // return the result from the first pool }; int mcplib_await(lua_State *L); -int mcplib_await_run(conn *c, lua_State *L, int coro_ref); +int mcplib_await_run(conn *c, mc_resp *resp, lua_State *L, int coro_ref); int mcplib_await_return(io_pending_proxy_t *p); // user stats interface |