Skip to content
Snippets Groups Projects
Commit 01c4abc2 authored by David Goulet's avatar David Goulet :panda_face: Committed by Nick Mathewson
Browse files

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's avatarDavid Goulet <dgoulet@torproject.org>
parent f420eacf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment