walkor 10 vuotta sitten
vanhempi
commit
b2fac77e65
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Workerman/Connection/TcpConnection.php

+ 1 - 1
Workerman/Connection/TcpConnection.php

@@ -343,7 +343,7 @@ class TcpConnection extends ConnectionInterface
            if($this->protocol)
            {
                $parser = $this->protocol;
-               while($this->_recvBuffer)
+               while($this->_recvBuffer && !$this->_isPaused)
                {
                    // 当前包的长度已知
                    if($this->_currentPackageLength)