diff options
author | dormando <dormando@rydia.net> | 2022-02-04 15:36:15 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-02-04 16:56:46 -0800 |
commit | b6fd865985dd8285bd963dfd429d7f475d54d77f (patch) | |
tree | b15989aab41b9aa98d7e83d52dd82e5c3ff79702 /memcached.h | |
parent | 8da2e098e3e649712170275a7629474311118752 (diff) | |
download | memcached-b6fd865985dd8285bd963dfd429d7f475d54d77f.tar.gz |
proxy: more misc fixes
- fixes potential memory leaks if an error is generated while creating a
pool object.
- misc comment updates and error handling.
- avoid crash if attempting to route commands that don't have a key.
Diffstat (limited to 'memcached.h')
-rw-r--r-- | memcached.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/memcached.h b/memcached.h index 7826c41..7a577f4 100644 --- a/memcached.h +++ b/memcached.h @@ -337,7 +337,8 @@ struct slab_stats { #ifdef PROXY #define PROXY_THREAD_STATS_FIELDS \ X(proxy_conn_requests) \ - X(proxy_conn_errors) + X(proxy_conn_errors) \ + X(proxy_conn_oom) #endif /** |