tor/src/feature/metrics
David Goulet 01c4abc2d4 conn: Properly close MetricsPort socket on EOF
Handle the EOF situation for a metrics connection. Furthermore, if we failed
to fetch the data from the inbuf properly, mark the socket as closed because
the caller, connection_process_inbuf(), assumes that we did so on error.

Fixes #40257

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-02-08 14:26:45 -05:00
..
.may_include metrics: New feature module to track tor metrics 2020-10-27 10:43:42 -04:00
include.am metrics: New feature module to track tor metrics 2020-10-27 10:43:42 -04:00
metrics.c conn: Properly close MetricsPort socket on EOF 2021-02-08 14:26:45 -05:00
metrics.h conn: Properly close MetricsPort socket on EOF 2021-02-08 14:26:45 -05:00
metrics_sys.c metrics: New feature module to track tor metrics 2020-10-27 10:43:42 -04:00
metrics_sys.h metrics: New feature module to track tor metrics 2020-10-27 10:43:42 -04:00