mirror of https://github.com/v2ray/v2ray-core
close outbound ray on error
parent
522ac2a2e9
commit
0f27e0b4d3
|
@ -78,6 +78,7 @@ func (h *Handler) Dispatch(ctx context.Context, outboundRay ray.OutboundRay) {
|
|||
err := h.mux.Dispatch(ctx, outboundRay)
|
||||
if err != nil {
|
||||
log.Trace(newError("failed to process outbound traffic").Base(err))
|
||||
outboundRay.OutboundOutput().CloseError()
|
||||
}
|
||||
} else {
|
||||
err := h.proxy.Process(ctx, outboundRay, h)
|
||||
|
|
Loading…
Reference in New Issue