Closes #40751.
Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
--- /dev/null
+ o Minor bugfixes (metrics):
+ - Decrement hs_intro_established_count on introduction circuit close. Fixes
+ bug 40751; bugfix on 0.4.7.12.
/** Established introduction circuit closes. This is called when
* INTRO_ESTABLISHED circuit is marked for close. */
#define hs_metrics_close_established_intro(i) \
- hs_metrics_update_by_ident(HS_METRICS_NUM_ESTABLISHED_INTRO, (i), 0, 1)
+ hs_metrics_update_by_ident(HS_METRICS_NUM_ESTABLISHED_INTRO, (i), 0, -1)
#endif /* !defined(TOR_FEATURE_HS_HS_METRICS_H) */