mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
throw connection_reset error is stream is closed
This commit is contained in:
@@ -416,9 +416,9 @@ namespace util
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Stream && m_Stream->IsOpen ())
|
||||
if (ecode == boost::asio::error::timed_out)
|
||||
SendReply ("<html>" + itoopieImage + "<br>Not responding</html>", 504);
|
||||
else
|
||||
else
|
||||
Terminate ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user