Skip to content

Draft: conn: Properly close MetricsPort socket on EOF

David Goulet requested to merge dgoulet/tor:ticket40257_045_01 into maint-0.4.5

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 (closed)

Signed-off-by: David Goulet dgoulet@torproject.org

Merge request reports