Internal QUICHE change
PiperOrigin-RevId: 346615932
Change-Id: If7eb96cf32fa37b848a2a88a3a9ccfea923dd5c5
diff --git a/quic/core/quic_connection.h b/quic/core/quic_connection.h
index 8dd0b0b..56a1813 100644
--- a/quic/core/quic_connection.h
+++ b/quic/core/quic_connection.h
@@ -1163,6 +1163,12 @@
void SetSourceAddressTokenToSend(absl::string_view token);
+ void SendPing() {
+ SendPingAtLevel(use_encryption_level_context_
+ ? framer().GetEncryptionLevelToSendApplicationData()
+ : encryption_level_);
+ }
+
protected:
// Calls cancel() on all the alarms owned by this connection.
void CancelAllAlarms();