diff --git a/README.md b/README.md index d742e6f..6497706 100644 --- a/README.md +++ b/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 diff --git a/README_CN.md b/README_CN.md index 7011fe4..be8bd56 100644 --- a/README_CN.md +++ b/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)