mirror of https://gitee.com/bigwinds/arangodb
added comment
This commit is contained in:
parent
bfea394d94
commit
e7a955ea26
|
@ -144,7 +144,10 @@ bool HttpsCommTask::handleEvent (EventToken token,
|
||||||
if (! result) {
|
if (! result) {
|
||||||
// status is somehow invalid. we got here even though no accept was ever successful
|
// status is somehow invalid. we got here even though no accept was ever successful
|
||||||
_clientClosed = true;
|
_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);
|
_server->handleCommunicationFailure(this);
|
||||||
|
|
||||||
_scheduler->destroyTask(this);
|
_scheduler->destroyTask(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue