Tag sockets to be closed on exceptions.
Possibly related to cool#9349 Signed-off-by: Michael Meeks <michael.meeks@collabora.com> Change-Id: Iae249bdf50825d0669c801951bfba827ac6e5581
This commit is contained in:
parent
5905e21fe2
commit
c65671d02a
1 changed files with 2 additions and 0 deletions
|
@ -1387,10 +1387,12 @@ protected:
|
|||
catch (const std::exception& exception)
|
||||
{
|
||||
LOG_ERR("Error during handleIncomingMessage: " << exception.what());
|
||||
disposition.setClosed();
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
LOG_ERR("Error during handleIncomingMessage.");
|
||||
disposition.setClosed();
|
||||
}
|
||||
|
||||
if (disposition.isMove() || disposition.isTransfer())
|
||||
|
|
Loading…
Reference in a new issue