From 743ed9ee93fe23b4857c770b27afefb343231478 Mon Sep 17 00:00:00 2001 From: Ryan Lamb <4955475+kinyoklion@users.noreply.github.com> Date: Wed, 24 Jul 2024 15:45:57 -0700 Subject: [PATCH] Add comment explaining the condition. --- libs/server-sent-events/src/client.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/server-sent-events/src/client.cpp b/libs/server-sent-events/src/client.cpp index c2ad6dc3f..2ef0c4b2a 100644 --- a/libs/server-sent-events/src/client.cpp +++ b/libs/server-sent-events/src/client.cpp @@ -349,6 +349,9 @@ class FoxyClient : public Client, session_->stream.plain().cancel(); } } catch (boost::system::system_error const& err) { + // The stream is likely already closed. Potentially the network + // interface that was associated with the stream is no longer + // available. logger_("exception closing stream: " + std::string(err.what())); }