Skip to content

Commit

Permalink
proxy: "stats settings" for proxy
Browse files Browse the repository at this point in the history
not sure if I want to add the config file path since that could end up being an info leak.
  • Loading branch information
dormando committed Feb 17, 2022
1 parent 774630e commit 554a117
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -1976,6 +1976,10 @@ void process_stat_settings(ADD_STAT add_stats, void *c) {
APPEND_STAT("ssl_wbuf_size", "%u", settings.ssl_wbuf_size);
APPEND_STAT("ssl_session_cache", "%s", settings.ssl_session_cache ? "yes" : "no");
APPEND_STAT("ssl_min_version", "%s", ssl_proto_text(settings.ssl_min_version));
#endif
#ifdef PROXY
APPEND_STAT("proxy_enabled", "%s", settings.proxy_enabled ? "yes" : "no");
APPEND_STAT("proxy_uring_enabled", "%s", settings.proxy_uring ? "yes" : "no");
#endif
APPEND_STAT("num_napi_ids", "%s", settings.num_napi_ids);
APPEND_STAT("memory_file", "%s", settings.memory_file);
Expand Down

0 comments on commit 554a117

Please sign in to comment.