Explorar o código

Update TcpConnection.php

walkor %!s(int64=5) %!d(string=hai) anos
pai
achega
2416fe3db4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;