Skip to content

Commit

Permalink
disable
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Beyad <abeyad@google.com>
  • Loading branch information
abeyad committed Sep 10, 2024
1 parent 66b832c commit bd312cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/common/quic/envoy_quic_client_connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ EnvoyQuicClientConnection::EnvoyQuicClientConnection(
prefer_gro_(prefer_gro), disallow_mmsg_(Runtime::runtimeFeatureEnabled(
"envoy.reloadable_features.disallow_quic_client_udp_mmsg")) {}

EnvoyQuicClientConnection::~EnvoyQuicClientConnection() {
if (poll_timer_) {
poll_timer_->disableTimer();
}
}

void EnvoyQuicClientConnection::processPacket(
Network::Address::InstanceConstSharedPtr local_address,
Network::Address::InstanceConstSharedPtr peer_address, Buffer::InstancePtr buffer,
Expand Down
2 changes: 2 additions & 0 deletions source/common/quic/envoy_quic_client_connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class EnvoyQuicClientConnection : public quic::QuicConnection,
Network::ConnectionSocketPtr&& connection_socket,
quic::ConnectionIdGeneratorInterface& generator, bool prefer_gro);

virtual ~EnvoyQuicClientConnection();

// Network::UdpPacketProcessor
void processPacket(Network::Address::InstanceConstSharedPtr local_address,
Network::Address::InstanceConstSharedPtr peer_address,
Expand Down

0 comments on commit bd312cc

Please sign in to comment.