Skip to content

Commit

Permalink
Add comment explaining the condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Jul 24, 2024
1 parent a2fda98 commit 743ed9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/server-sent-events/src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}

Expand Down

0 comments on commit 743ed9e

Please sign in to comment.