Skip to content

Commit

Permalink
Update v1.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhan6665 committed Nov 18, 2023
1 parent 84014d7 commit 2570855
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
var (
Version_x byte = 1
Version_y byte = 8
Version_z byte = 5
Version_z byte = 6
)

var (
Expand Down
4 changes: 4 additions & 0 deletions proxy/wireguard/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ func (*Server) Network() []net.Network {

// Process implements proxy.Inbound.
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{
ctx: core.ToBackgroundDetachedContext(ctx),
dispatcher: dispatcher,
Expand Down

0 comments on commit 2570855

Please sign in to comment.