Преглед изворни кода

HPCC-19697 handle first request separately in refill()

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith пре 7 година
родитељ
комит
4bf2a587ac
1 измењених фајлова са 3 додато и 0 уклоњено
  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)