summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-01-27 09:34:34 -0500
committerNick Mathewson <nickm@torproject.org>2021-02-08 14:26:45 -0500
commit01c4abc2d41a7d140a0c0931528fc680dcbac0ee (patch)
tree3d3eb1c42f7370f18af1f9e738976d5f960a76ad /changes
parentf420eacf1858220f1cb284353f975e03464b15e4 (diff)
downloadtor-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')
-rw-r--r--changes/ticket402573
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