浏览代码

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)