Prechádzať zdrojové kódy

HPCC-19697 handle first request separately in refill()

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith 7 rokov pred
rodič
commit
4bf2a587ac
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      common/remote/sockfile.cpp

+ 3 - 0
common/remote/sockfile.cpp

@@ -1927,7 +1927,10 @@ protected:
     void refill()
     {
         if (firstRequest)
+        {
             handleFirstRequest();
+            return;
+        }
         size32_t cursorLength;
         reply.read(cursorLength);
         if (!cursorLength)