国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

源碼請教:關(guān)于Tcpconnection包長比較問題

phpcreeper

大約是在 Workerman/Connection/TcpConnection.php 的Line 625行左右的幾行代碼:

// Data is not enough for a package.
if ($this->_currentPackageLength > strlen($this->_recvBuffer)) {
break;
}

調(diào)試觀測到:
if($this->_currentPackageLength > 0) $this->_currentPackageLength === strlen($this->_recvBuffer) ,

所以想知道是在什么情況下如下語句是成立的?
if ($this->_currentPackageLength > strlen($this->_recvBuffer)) 謝謝~~

2951 1 0
1個回答

walkor 打賞

當(dāng)客戶端發(fā)送的數(shù)據(jù)很大時,比如發(fā)送一個10M的數(shù)據(jù)包

  • 暫無評論
年代過于久遠,無法發(fā)表回答
??