diff --git a/docs/root/version_history/current.rst b/docs/root/version_history/current.rst index 5b5e92fea1abe..cee078a3552e9 100644 --- a/docs/root/version_history/current.rst +++ b/docs/root/version_history/current.rst @@ -13,6 +13,7 @@ Bug Fixes --------- *Changes expected to improve the state of the world and are unlikely to have negative effects* +* http: remove redundant Warn log in HTTP codec. * listener: fix a crash when updating any listener that does not bind to port. Removed Config or Runtime diff --git a/source/common/http/codec_client.cc b/source/common/http/codec_client.cc index e2d242f543265..29aa601384a44 100644 --- a/source/common/http/codec_client.cc +++ b/source/common/http/codec_client.cc @@ -117,9 +117,6 @@ void CodecClient::onEvent(Network::ConnectionEvent event) { 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.