浏览代码

fix #517

fix #517
walkor 5 年之前
父节点
当前提交
c7373d0b66
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Connection/AsyncTcpConnection.php

+ 1 - 0
Connection/AsyncTcpConnection.php

@@ -157,6 +157,7 @@ class AsyncTcpConnection extends TcpConnection
         // For statistics.
         ++self::$statistics['connection_count'];
         $this->maxSendBufferSize         = self::$defaultMaxSendBufferSize;
+        $this->maxPackageSize            = self::$defaultMaxPackageSize;
         $this->_contextOption            = $context_option;
         static::$connections[$this->_id] = $this;
     }