mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-06 01:05:35 -05:00
close both stream immediately after error
This commit is contained in:
@@ -72,7 +72,7 @@ func (v *DefaultDispatcher) waitAndDispatch(wait func() error, destination v2net
|
||||
if err := wait(); err != nil {
|
||||
log.Info("DefaultDispatcher: Failed precondition: ", err)
|
||||
link.OutboundInput().CloseError()
|
||||
link.OutboundOutput().Close()
|
||||
link.OutboundOutput().CloseError()
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user