app/v2.4.4

HyNetworks/hysteriaapp/v2.4.4May 18, 2024by github-actions[bot]

AI Summary

Fixes a critical memory leak in the QUIC library and adds an API endpoint to monitor current online users.

Key Highlights

  • Fixed memory leak in quic-go between versions 2.4.2 and 2.4.3
  • Added new GET `/online` endpoint to traffic stats API
  • Client now gracefully closes QUIC connection when exiting

New Features

  • Fixed memory leak
  • Traffic stats API `/online` endpoint
  • Graceful connection closing

Full Release Notes

> This release contains important fixes and we strongly encourage everyone to upgrade.

- Fixed a memory leak in quic-go between 2.4.2 and 2.4.3
- Added a new GET `/online` endpoint to the traffic stats API for retrieving current online users and their connection counts
- The client now gracefully closes the QUIC connection when exiting

---

> 此版本包含重要修复,强烈建议更新

- 修复 2.4.2-2.4.3 中 quic-go 存在的一个内存泄漏问题
- 流量统计 API 新增 GET `/online` 接口,用于查询当前在线用户与其连接数
- 客户端退出时将优雅关闭 QUIC 连接,服务端无需再等待超时