Parcourir la source

Update TcpConnection.php

walkor il y a 6 ans
Parent
commit
240c15a440
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 {