diff options
author | dormando <dormando@rydia.net> | 2022-09-01 22:44:44 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-09-15 11:35:19 -0700 |
commit | 725954d3a37ff0596f4a8e53c5746eec3a30166d (patch) | |
tree | e6efdda62ce6a12921e4c7df9a8ac0b997e9501d /proxy.h | |
parent | d855e7ed9394d3c8ed110f22694930a22894de10 (diff) | |
download | memcached-725954d3a37ff0596f4a8e53c5746eec3a30166d.tar.gz |
proxy: remove most references to settings global
should make isolation/testing earlier.
Diffstat (limited to 'proxy.h')
-rw-r--r-- | proxy.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -78,6 +78,7 @@ #define MCP_THREAD_UPVALUE 1 #define MCP_ATTACH_UPVALUE 2 #define MCP_BACKEND_UPVALUE 3 +#define MCP_CONTEXT_UPVALUE 4 // all possible commands. #define CMD_FIELDS \ @@ -476,7 +477,7 @@ void mcp_request_attach(lua_State *L, mcp_request_t *rq, io_pending_proxy_t *p); void proxy_lua_error(lua_State *L, const char *s); void proxy_lua_ferror(lua_State *L, const char *fmt, ...); int _start_proxy_config_threads(proxy_ctx_t *ctx); -int proxy_thread_loadconf(LIBEVENT_THREAD *thr); +int proxy_thread_loadconf(proxy_ctx_t *ctx, LIBEVENT_THREAD *thr); // TODO (v2): more .h files, perhaps? int mcplib_open_hash_xxhash(lua_State *L); |