Forráskód Böngészése

Update TcpConnection.php

walkor 5 éve
szülő
commit
2416fe3db4
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      Connection/TcpConnection.php

+ 2 - 0
Connection/TcpConnection.php

@@ -971,6 +971,8 @@ class TcpConnection extends ConnectionInterface
             }
         }
         $this->_sendBuffer = $this->_recvBuffer = '';
+        $this->_currentPackageLength = 0;
+        $this->_isPaused = $this->_sslHandshakeCompleted = false;
         if ($this->_status === self::STATUS_CLOSED) {
             // Cleaning up the callback to avoid memory leaks.
             $this->onMessage = $this->onClose = $this->onError = $this->onBufferFull = $this->onBufferDrain = null;