Explorar o código

close both stream immediately after error

Darien Raymond %!s(int64=8) %!d(string=hai) anos
pai
achega
0e940fb1fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/dispatcher/impl/default.go

+ 1 - 1
app/dispatcher/impl/default.go

@@ -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
 	}