浏览代码

Update TcpConnection.php

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

+ 1 - 1
Connection/TcpConnection.php

@@ -775,7 +775,7 @@ class TcpConnection extends ConnectionInterface
             return false;
         } elseif (0 === $ret) {
             // There isn't enough data and should try again.
-            return false;
+            return 0;
         }
         if (isset($this->onSslHandshake)) {
             try {