diff options
author | David Goulet <dgoulet@torproject.org> | 2021-01-27 09:34:34 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-02-08 14:26:45 -0500 |
commit | 01c4abc2d41a7d140a0c0931528fc680dcbac0ee (patch) | |
tree | 3d3eb1c42f7370f18af1f9e738976d5f960a76ad /changes/ticket40257 | |
parent | f420eacf1858220f1cb284353f975e03464b15e4 (diff) | |
download | tor-01c4abc2d41a7d140a0c0931528fc680dcbac0ee.tar.gz tor-01c4abc2d41a7d140a0c0931528fc680dcbac0ee.zip |
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>
Diffstat (limited to 'changes/ticket40257')
-rw-r--r-- | changes/ticket40257 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/ticket40257 b/changes/ticket40257 new file mode 100644 index 0000000000..4bcebc45a1 --- /dev/null +++ b/changes/ticket40257 @@ -0,0 +1,3 @@ + o Minor bugfixes (metrics port): + - Fix a bug warning when the socket was unexpectedly closed. Fixes bug + 40257; bugfix on 0.4.5.1-alpha |