Download the PHP package tourze/quic-flow-control without Composer
On this page you can find all versions of the php package tourze/quic-flow-control. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tourze/quic-flow-control
More information about tourze/quic-flow-control
Files in tourze/quic-flow-control
Download tourze/quic-flow-control
More information about tourze/quic-flow-control
Files in tourze/quic-flow-control
Please rate this library. Is it a good library?
Informations about the package quic-flow-control
QUIC Flow Control
中文
QUIC协议流量控制实现,提供连接级和流级流量控制机制,完全符合RFC 9000规范。
目录
- 功能特性
- 安装
- Dependencies
- Quick Start
- 运行演示
- Advanced Usage
- 测试
- RFC 9000 合规性
- 许可证
功能特性
核心组件
- FlowControlWindow - 流量控制窗口管理
- StreamFlowController - 流级流量控制器
- ConnectionFlowController - 连接级流量控制器
- FlowControlManager - 统一流量控制管理器
流控制帧支持
- MAX_DATA - 连接级窗口更新帧
- MAX_STREAM_DATA - 流级窗口更新帧
- DATA_BLOCKED - 连接级阻塞信号帧
- STREAM_DATA_BLOCKED - 流级阻塞信号帧
主要功能
- ✅ 连接级和流级双重流量控制
- ✅ 自动阻塞检测和信号生成
- ✅ 智能窗口更新机制
- ✅ 完整的统计和健康监控
- ✅ RFC 9000完全兼容
安装
Dependencies
本包依赖以下组件:
运行时依赖
- tourze/quic-core - QUIC 协议核心组件,提供常量和基础类型定义
- tourze/quic-frames - QUIC 帧实现,提供流控制帧的结构定义
开发依赖
- phpstan/phpstan ^2.1 - 静态分析工具
- phpunit/phpunit ^10.0 - 单元测试框架
系统要求
- PHP 8.1 或更高版本
- 内存:建议 64MB 以上
- 支持的操作系统:Linux, macOS, Windows
Quick Start
运行演示
演示脚本展示了完整的流量控制流程,包括:
- 窗口管理
- 阻塞检测
- 控制帧生成
- 健康监控
Advanced Usage
自定义流量控制配置
流量控制监控和诊断
流控制帧处理
性能优化建议
错误处理和恢复
测试
运行单元测试:
测试覆盖:
- ✅ 42个测试用例
- ✅ 115个断言
- ✅ 100%通过率
RFC 9000 合规性
本实现严格遵循QUIC RFC 9000第4节流量控制规范:
- 连接级流量控制 (Section 4.1)
- 流级流量控制 (Section 4.1)
- 流控制帧格式 (Section 19.9-19.13)
- 阻塞信号机制
- 窗口更新策略
许可证
MIT License
All versions of quic-flow-control with dependencies
PHP Build Version
Package Version
The package tourze/quic-flow-control contains the following files
Loading the files please wait ...