diff --git a/include/types/session.h b/include/types/session.h index fd86f09d4..fdccc7b1c 100644 --- a/include/types/session.h +++ b/include/types/session.h @@ -184,6 +184,7 @@ struct session { int flags; } store[8]; /* tracked stickiness values to store */ int store_count; + struct stksess *tracked_src_counters; /* tracked counters for this source */ struct { int logwait; /* log fields waiting to be collected : LW_* */ diff --git a/src/session.c b/src/session.c index 1edc72561..262f48629 100644 --- a/src/session.c +++ b/src/session.c @@ -174,6 +174,7 @@ int session_accept(struct listener *l, int cfd, struct sockaddr_storage *addr) /* init store persistence */ s->store_count = 0; + s->tracked_src_counters = NULL; /* Adjust some socket options */ if (unlikely(fcntl(cfd, F_SETFL, O_NONBLOCK) == -1)) {