Skip to content

Commit 2570855

Browse files
committed
Update v1.8.6
1 parent 84014d7 commit 2570855

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/core.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
var (
2222
Version_x byte = 1
2323
Version_y byte = 8
24-
Version_z byte = 5
24+
Version_z byte = 6
2525
)
2626

2727
var (

proxy/wireguard/server.go

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ func (*Server) Network() []net.Network {
7777

7878
// Process implements proxy.Inbound.
7979
func (s *Server) Process(ctx context.Context, network net.Network, conn stat.Connection, dispatcher routing.Dispatcher) error {
80+
inbound := session.InboundFromContext(ctx)
81+
inbound.Name = "wireguard"
82+
inbound.SetCanSpliceCopy(3)
83+
8084
s.info = routingInfo{
8185
ctx: core.ToBackgroundDetachedContext(ctx),
8286
dispatcher: dispatcher,

0 commit comments

Comments
 (0)