Browse Source

Update v1.8.6

pull/2734/head v1.8.6
yuhan6665 1 year ago
parent
commit
2570855cd7
  1. 2
      core/core.go
  2. 4
      proxy/wireguard/server.go

2
core/core.go

@ -21,7 +21,7 @@ import (
var ( var (
Version_x byte = 1 Version_x byte = 1
Version_y byte = 8 Version_y byte = 8
Version_z byte = 5 Version_z byte = 6
) )
var ( var (

4
proxy/wireguard/server.go

@ -77,6 +77,10 @@ func (*Server) Network() []net.Network {
// Process implements proxy.Inbound. // Process implements proxy.Inbound.
func (s *Server) Process(ctx context.Context, network net.Network, conn stat.Connection, dispatcher routing.Dispatcher) error { func (s *Server) Process(ctx context.Context, network net.Network, conn stat.Connection, dispatcher routing.Dispatcher) error {
inbound := session.InboundFromContext(ctx)
inbound.Name = "wireguard"
inbound.SetCanSpliceCopy(3)
s.info = routingInfo{ s.info = routingInfo{
ctx: core.ToBackgroundDetachedContext(ctx), ctx: core.ToBackgroundDetachedContext(ctx),
dispatcher: dispatcher, dispatcher: dispatcher,

Loading…
Cancel
Save