Selaa lähdekoodia

close both stream immediately after error

Darien Raymond 8 vuotta sitten
vanhempi
commit
0e940fb1fa
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
 	}