Browse Source

SocketWorker

walkor 11 năm trước cách đây
mục cha
commit
f0119e7fe3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
             }