summaryrefslogtreecommitdiff
path: root/memcached.c
diff options
context:
space:
mode:
authorPrudhviraj K <pkarumanchi@netflix.com>2022-06-20 11:16:14 -0700
committerdormando <dormando@rydia.net>2022-07-24 23:06:56 -0700
commitf7d8dbdab9baacf425fba64f6786fd9f05fd2d5d (patch)
treeb54776cfac8fc38f9c0a5cadd584b455b6387ad7 /memcached.c
parent57350fc925abd64fa4cdf36e2a76530e9e9d6f39 (diff)
downloadmemcached-f7d8dbdab9baacf425fba64f6786fd9f05fd2d5d.tar.gz
fix the hashstring size for evcache ketama
add proxy_debug flag for protocol handler in verbose printing
Diffstat (limited to 'memcached.c')
-rw-r--r--memcached.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/memcached.c b/memcached.c
index 41518d2..fd36377 100644
--- a/memcached.c
+++ b/memcached.c
@@ -730,6 +730,10 @@ conn *conn_new(const int sfd, enum conn_states init_state,
fprintf(stderr, "<%d new ascii client connection.\n", sfd);
} else if (c->protocol == binary_prot) {
fprintf(stderr, "<%d new binary client connection.\n", sfd);
+#ifdef PROXY
+ } else if (c->protocol == proxy_prot) {
+ fprintf(stderr, "<%d new proxy client connection.\n", sfd);
+#endif
} else {
fprintf(stderr, "<%d new unknown (%d) client connection\n",
sfd, c->protocol);