Prechádzať zdrojové kódy

HPCC-22525 Continue to run after exception on accept.

Also fix -ve crash on exit.

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith 6 rokov pred
rodič
commit
37042c7980
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      fs/dafsserver/dafsserver.cpp

+ 2 - 2
fs/dafsserver/dafsserver.cpp

@@ -2605,7 +2605,7 @@ class CRemoteFileServer : implements IRemoteFileServer, public CInterface
     CClientStatsTable clientStatsTable;
     atomic_t globallasttick;
     unsigned targetActiveThreads;
-    Owned<IPropertyTree> keyPairInfo;
+    Linked<IPropertyTree> keyPairInfo;
 
     int getNextHandle()
     {
@@ -4364,7 +4364,7 @@ public:
                     {
                         EXCLOG(e,"CRemoteFileServer");
                         e->Release();
-                        break;
+                        continue;
                     }
                 }