feat(notify): 重构通信内核并补齐 stream/bulk/record/transfer 能力

- 引入 LogicalConn/TransportConn 分层,ClientConn 保留兼容适配层
  - 新增 Stream、Bulk、RecordStream 三条数据面能力及对应控制路径
  - 完成 transfer/file 传输内核与状态快照、诊断能力
  - 补齐 reconnect、inbound dispatcher、modern psk 等基础模块
  - 增加大规模回归、并发与基准测试覆盖
  - 更新依赖库
This commit is contained in:
2026-04-15 15:24:36 +08:00
parent d14d13c393
commit 09d972c7b7
216 changed files with 51374 additions and 1715 deletions
+9
View File
@@ -1,3 +1,6 @@
//go:build notify_manual_integration
// +build notify_manual_integration
package notify
import (
@@ -38,6 +41,9 @@ type HelloMessage struct {
func ClientRun(stopTime time.Duration) {
c := NewClient()
if err := UseModernPSKClient(c, integrationSharedSecret, integrationModernPSKOptions()); err != nil {
panic(err)
}
err := c.Connect("tcp", "127.0.0.1:23456")
if err != nil {
panic(err)
@@ -75,6 +81,9 @@ func ClientRun(stopTime time.Duration) {
func ServerRun(stopTime time.Duration) {
s := NewServer()
if err := UseModernPSKServer(s, integrationSharedSecret, integrationModernPSKOptions()); err != nil {
panic(err)
}
err := s.Listen("tcp", "127.0.0.1:23456")
if err != nil {
panic(err)