From 88e7960d21865d48f68b2463515dedde66cd9ae8 Mon Sep 17 00:00:00 2001 From: dormando Date: Fri, 1 Apr 2022 18:32:24 -0700 Subject: proxy: mcp.log_req* API interface Lua level API for logging full context of a request/response. Provides log_req() for simple logging and log_reqsample() for conditional logging. --- memcached.h | 1 + 1 file changed, 1 insertion(+) (limited to 'memcached.h') diff --git a/memcached.h b/memcached.h index 3435677..5a21aee 100644 --- a/memcached.h +++ b/memcached.h @@ -719,6 +719,7 @@ typedef struct { void *proxy_hooks; void *proxy_user_stats; void *proxy_int_stats; + uint32_t proxy_rng[4]; // fast per-thread rng for lua. // TODO: add ctx object so we can attach to queue. #endif } LIBEVENT_THREAD; -- cgit v1.2.1