summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-09-01 22:44:44 -0700
committerdormando <dormando@rydia.net>2022-09-15 11:35:19 -0700
commit725954d3a37ff0596f4a8e53c5746eec3a30166d (patch)
treee6efdda62ce6a12921e4c7df9a8ac0b997e9501d /thread.c
parentd855e7ed9394d3c8ed110f22694930a22894de10 (diff)
downloadmemcached-725954d3a37ff0596f4a8e53c5746eec3a30166d.tar.gz
proxy: remove most references to settings global
should make isolation/testing earlier.
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index d5ed052..bd1dc9f 100644
--- a/thread.c
+++ b/thread.c
@@ -490,7 +490,7 @@ static void setup_thread(LIBEVENT_THREAD *me) {
// TODO: maybe register hooks to be called here from sub-packages? ie;
// extstore, TLS, proxy.
if (settings.proxy_enabled) {
- proxy_thread_init(me);
+ proxy_thread_init(settings.proxy_ctx, me);
}
#endif
thread_io_queue_add(me, IO_QUEUE_NONE, NULL, NULL, NULL, NULL, NULL);