mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Do not break away from the loop on every error. It can cause situation when
many threads die after one client death. svn path=/trunk/; revision=27193
This commit is contained in:
parent
a02534e0fe
commit
20560b2ef4
1 changed files with 7 additions and 0 deletions
|
@ -216,6 +216,13 @@ ClientConnectionThread(HANDLE ServerPort)
|
||||||
0,
|
0,
|
||||||
&Reply->Header,
|
&Reply->Header,
|
||||||
&Request->Header);
|
&Request->Header);
|
||||||
|
/* Client died, continue */
|
||||||
|
if (Status == STATUS_INVALID_CID)
|
||||||
|
{
|
||||||
|
Reply = NULL;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("NtReplyWaitReceivePort failed: %lx\n", Status);
|
DPRINT1("NtReplyWaitReceivePort failed: %lx\n", Status);
|
||||||
|
|
Loading…
Reference in a new issue