mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
throw connection_reset error is stream is closed
This commit is contained in:
parent
45289891d6
commit
207022a6bb
2 changed files with 7 additions and 2 deletions
|
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue