Browse Source

fphttpserver: fix endless loop in case of open connections

git-svn-id: trunk@45722 -
ondrej 5 years ago
parent
commit
00ce3b6a31
1 changed files with 1 additions and 1 deletions
  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;