Prechádzať zdrojové kódy

Update TcpConnection.php

walkor 6 rokov pred
rodič
commit
f615edc0a5
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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;