File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -144,14 +144,15 @@ func (s *Server) forwardConnection(dest net.Destination, conn net.Conn) {
144144 Reason : "" ,
145145 })
146146
147+ if s .info .inboundTag != nil {
148+ ctx = session .ContextWithInbound (ctx , s .info .inboundTag )
149+ }
150+
147151 // what's this?
148152 // Session information should not be shared between different connections
149153 // why reuse them in server level? This will cause incorrect destoverride and unexpected routing behavior.
150154 // Disable it temporarily. Maybe s.info should be removed.
151155
152- // if s.info.inboundTag != nil {
153- // ctx = session.ContextWithInbound(ctx, s.info.inboundTag)
154- // }
155156 // if s.info.outboundTag != nil {
156157 // ctx = session.ContextWithOutbounds(ctx, []*session.Outbound{s.info.outboundTag})
157158 // }
You can’t perform that action at this time.
0 commit comments