浏览代码

Update TcpConnection.php

walkor 7 年之前
父节点
当前提交
7369e76fe2
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Connection/TcpConnection.php

+ 2 - 0
Connection/TcpConnection.php

@@ -835,6 +835,8 @@ class TcpConnection extends ConnectionInterface
         }
         if ($this->_sendBuffer === '') {
             $this->destroy();
+        } else {
+            $this->pauseRecv();
         }
     }