Переглянути джерело

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)