mirror of
https://github.com/Gouryella/drip.git
synced 2026-02-23 21:00:44 +00:00
docs(readme): Add description of latest function changes
This commit is contained in:
17
README.md
17
README.md
@@ -64,6 +64,23 @@ For complete documentation, visit **[Docs](https://driptunnel.app/docs)**
|
||||
- [Server Deployment](https://driptunnel.app/docs/direct-mode)
|
||||
- [Command Reference](https://driptunnel.app/docs/commands)
|
||||
|
||||
## Recent Changes
|
||||
|
||||
**2025-02-14**
|
||||
- **Bandwidth Limiting (QoS)** - Per-tunnel bandwidth control with token bucket algorithm, server enforces `min(client, server)` as effective limit
|
||||
- **Transport Protocol Control** - Support independent configuration for service domain and tunnel domain
|
||||
|
||||
```bash
|
||||
# Client: limit to 1MB/s
|
||||
drip http 3000 --bandwidth 1M
|
||||
```
|
||||
|
||||
```yaml
|
||||
# Server: global limit (config.yaml)
|
||||
bandwidth: 10M
|
||||
burst_multiplier: 2.5
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
BSD 3-Clause License - see [LICENSE](LICENSE) for details
|
||||
|
||||
17
README_CN.md
17
README_CN.md
@@ -64,6 +64,23 @@ drip http 3000 -n myapp
|
||||
- [服务端部署](https://driptunnel.app/docs/direct-mode)
|
||||
- [命令参考](https://driptunnel.app/docs/commands)
|
||||
|
||||
## 最近更新
|
||||
|
||||
**2025-02-14**
|
||||
- **带宽限速 (QoS)** - 基于令牌桶算法的隧道级带宽控制,服务端取 `min(客户端, 服务端)` 作为生效带宽
|
||||
- **传输协议控制** - 支持服务域名与隧道域名独立配置
|
||||
|
||||
```bash
|
||||
# 客户端:限速 1MB/s
|
||||
drip http 3000 --bandwidth 1M
|
||||
```
|
||||
|
||||
```yaml
|
||||
# 服务端:全局限速 (config.yaml)
|
||||
bandwidth: 10M
|
||||
burst_multiplier: 2.5
|
||||
```
|
||||
|
||||
## 协议
|
||||
|
||||
BSD 3-Clause License - 详见 [LICENSE](LICENSE)
|
||||
|
||||
Reference in New Issue
Block a user