Explorar o código

Update TcpConnection.php

walkor %!s(int64=6) %!d(string=hai) anos
pai
achega
f615edc0a5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Connection/TcpConnection.php

+ 1 - 0
Connection/TcpConnection.php

@@ -952,6 +952,7 @@ class TcpConnection extends ConnectionInterface
                 exit(250);
             }
         }
+        $this->_sendBuffer = $this->_recvBuffer = '';
         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;