Merge branch 'google3' up to cl/357261873.

This commit is contained in:
hai007
2021-02-19 11:24:29 -08:00
+2 -2
View File
@@ -426,7 +426,7 @@ void BwuManager::ProcessBwuPathAvailableEvent(
std::shared_ptr<EndpointChannel> previous_endpoint_channel =
item.mapped();
if (previous_endpoint_channel) {
previous_endpoint_channel->Close(DisconnectionReason::IO_ERROR);
previous_endpoint_channel->Close(DisconnectionReason::UNFINISHED);
}
}
std::shared_ptr<EndpointChannel> new_channel =
@@ -435,7 +435,7 @@ void BwuManager::ProcessBwuPathAvailableEvent(
// The upgraded channel never finished upgrading, and therefore is still
// paused.
new_channel->Resume();
new_channel->Close(DisconnectionReason::IO_ERROR);
new_channel->Close(DisconnectionReason::UNFINISHED);
}
return;