Update quic-go

This commit is contained in:
世界
2023-06-15 10:10:42 +08:00
parent 7d263eb733
commit 83c3454685
7 changed files with 30 additions and 51 deletions

View File

@@ -26,7 +26,7 @@ type Server struct {
handler adapter.V2RayServerTransportHandler
errorHandler E.Handler
udpListener net.PacketConn
quicListener quic.Listener
quicListener *quic.Listener
}
func NewServer(ctx context.Context, options option.V2RayQUICOptions, tlsConfig tls.ServerConfig, handler adapter.V2RayServerTransportHandler) (adapter.V2RayServerTransport, error) {