浏览代码

fphttpserver: fix endless loop in case of open connections

git-svn-id: trunk@45722 -
ondrej 5 年之前
父节点
当前提交
00ce3b6a31
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fcl-web/src/base/fphttpserver.pp

+ 1 - 1
packages/fcl-web/src/base/fphttpserver.pp

@@ -905,7 +905,7 @@ begin
     begin
     Sleep(100);
     if (FConnectionCount=FLastCount) then
-      Dec(ACount)
+      Inc(ACount)
     else
       FLastCount:=FConnectionCount;
     end;