🏎️ PRipple official high-performance driver
MIT License
cloudtay/ripple*
取代 cclilshy/p-ripple*
Stream
对象新增 waitForRead/Write()
方法Published by cclilshy 17 days ago
更新 IteratorResponse
参数结构
允许 IteratorResponse
被继承
Published by cclilshy 17 days ago
以下类将在不久后被弃用
\Psc\Drive\Workerman\PDriver
\Psc\Drive\Workerman\Driver
请使用
\Psc\Drive\Workerman\Driver4
取代
HTTP服务端支持读写双全工模式
HTTP服务端移除Symfony标准
优化Tunnel的SSL签名SNI校准
新增协程Suspension对象
新增协程Container
修复部分已知问题
Published by cclilshy 25 days ago
Published by cclilshy about 1 month ago
新增: Laravel事件
修复: ThinkPHP容器回收
Published by cclilshy about 1 month ago
Published by cclilshy about 2 months ago
Workerman
反复重启control.pipe
文件移至框架 runtime
路径Windows 热重载方案请参考文档
PRP_HOT_RELOAD
默认值 0
重要: 本次更新含不向前兼容部分,请留意上游更新
https://github.com/cloudtay/p-ripple-core/releases/tag/v0.5.1
- 使用Co命名空间(保留P命名空间至(v1.0)发布版本之前)
- HTTP客户端 支持http/socks代理
- HTTP客户端 同步GuzzleException接口
- HTTP客户端 公开连接池的管理API
\Co\Plugin::Guzzle()->getHttpClient(); \Co\Plugin::Guzzle()->getHttpClient()->getConnectionPool();
- Websocket服务端 支持
onRequest
方法- Websocket服务端 支持
Gzip
压缩 @lidongyooo #21- 单元测试 新增Http与Weboscket模块的内存安全单元测试
- 新增对Windows的支持 (不稳定阶段)
不兼容更新
以下方法将不再返回
GuzzleHttp\Client
对象\Co\Plugin::Guzzle();
请通过以下API获取
\Co\Plugin::Guzzle()->newClient(array|null $config = []) : Client;
Published by cclilshy 2 months ago
WebSocket服务器:支持更多选项以使用底层的心跳机制 @idongyooo in https://github.com/cloudtay/p-ripple-core/pull/19
File模块:扩展文件监听动态调整
Worker模块:优化工作进程资源释放机制
HTTP客户端:支持处理分块传输编码
HTTP客户端:长连接支持底层心跳
HTTP客户端:修复连接池事件冲突
Published by cclilshy 2 months ago
Update
Synchronous upstream update
Published by cclilshy 2 months ago
Published by cclilshy 3 months ago
Published by cclilshy 3 months ago
Published by cclilshy 3 months ago
Full Changelog: https://github.com/cloudtay/p-ripple-drive/commits/1.1.5
# php artisan p:server --help
Description:
start the P-Drive service
Usage:
p:server [options] [--] [<action>]
Arguments:
action The action to perform [default: "start","stop","status"]
Options:
-s, --listen[=LISTEN] The address to listen on,default http://127.0.0.1:8008 [default: "http://127.0.0.1:8008"]
-t, --threads[=THREADS] The number of threads to use,default 4 [default: "4"]
-d, --daemon Run the service in the background
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
For services already running in the background, you can use php artisan p:server status
to view the real-time status
Published by cclilshy 3 months ago
Full Changelog: https://github.com/cloudtay/p-ripple-drive/compare/1.1.3...1.1.4
Published by cclilshy 3 months ago
Published by cclilshy 4 months ago
Full Changelog: https://github.com/cloudtay/p-ripple-drive/commits/1.0.9
Published by cclilshy 4 months ago
Full Changelog: https://github.com/cloudtay/p-ripple-drive/commits/1.0.0
Published by cclilshy 4 months ago
Full Changelog: https://github.com/cloudtay/p-ripple-drive/commits/0.0.1