瀏覽代碼

SocketWorker

walkor 11 年之前
父節點
當前提交
f0119e7fe3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      man/Core/SocketWorker.php

+ 1 - 1
man/Core/SocketWorker.php

@@ -530,7 +530,7 @@ abstract class SocketWorker extends AbstractWorker
             {
                 $this->sendBuffers[$this->currentDealFd] = $str_to_send;
             }
-            if(feof($this->sendBuffers[$this->currentDealFd]))
+            if(feof($this->connections[$this->currentDealFd]))
             {
                 return false;
             }