浏览代码

SendBufferToWorker fail and close connection

walkor 10 年之前
父节点
当前提交
1b0cb59b30
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      GatewayWorker/Gateway.php

+ 1 - 0
GatewayWorker/Gateway.php

@@ -225,6 +225,7 @@ class Gateway extends Worker
         {
             $msg = "SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready";
             $this->log($msg);
+            $connection->close();
             return false;
         }
         return true;