diff --git a/source/common/http/codec_client.cc b/source/common/http/codec_client.cc index 56b40f3c84e71..0b7b4e3a115fd 100644 --- a/source/common/http/codec_client.cc +++ b/source/common/http/codec_client.cc @@ -113,9 +113,6 @@ void CodecClient::onEvent(Network::ConnectionEvent event) { reason = StreamResetReason::ProtocolError; connection_->streamInfo().setResponseFlag(StreamInfo::ResponseFlag::UpstreamProtocolError); } - } else { - ENVOY_CONN_LOG(warn, "Connection is closed by {} during connecting.", *connection_, - (event == Network::ConnectionEvent::RemoteClose ? "peer" : "self")); } while (!active_requests_.empty()) { // Fake resetting all active streams so that reset() callbacks get invoked.