update xray v25.12.2 hysteria2 v2.6.4

This commit is contained in:
wyx2685
2025-12-03 05:23:08 +09:00
parent 3deccaae00
commit 8615620ce9
6 changed files with 143 additions and 190 deletions

View File

@@ -7,7 +7,6 @@ import (
"github.com/InazumaV/V2bX/common/format"
"github.com/InazumaV/V2bX/limiter"
"github.com/apernet/hysteria/core/v2/server"
quic "github.com/apernet/quic-go"
"go.uber.org/zap"
)
@@ -20,10 +19,10 @@ type HookServer struct {
ReportMinTrafficBytes int64
}
func (h *HookServer) TraceStream(stream quic.Stream, stats *server.StreamStats) {
func (h *HookServer) TraceStream(stream server.HyStream, stats *server.StreamStats) {
}
func (h *HookServer) UntraceStream(stream quic.Stream) {
func (h *HookServer) UntraceStream(stream server.HyStream) {
}
func (h *HookServer) LogTraffic(id string, tx, rx uint64) (ok bool) {