1
0
Fork 0

added comment

This commit is contained in:
Jan Steemann 2015-11-03 10:55:25 +01:00
parent bfea394d94
commit e7a955ea26
1 changed files with 3 additions and 0 deletions

View File

@ -144,7 +144,10 @@ bool HttpsCommTask::handleEvent (EventToken token,
if (! result) {
// status is somehow invalid. we got here even though no accept was ever successful
_clientClosed = true;
// this will remove the corresponding chunkedTask from the global list
// if we would leave it in there, then the server may crash on shutdown
_server->handleCommunicationFailure(this);
_scheduler->destroyTask(this);
}