Log SNI on QUIC_BUG(quic_crypto_send_buffer_overflow)
To help with debugging b/235811024
PiperOrigin-RevId: 454733691
diff --git a/quiche/quic/core/quic_crypto_stream.cc b/quiche/quic/core/quic_crypto_stream.cc
index c85b9ab..b43720e 100644
--- a/quiche/quic/core/quic_crypto_stream.cc
+++ b/quiche/quic/core/quic_crypto_stream.cc
@@ -166,7 +166,8 @@
<< absl::StrCat("Too much data for crypto send buffer with level: ",
EncryptionLevelToString(level),
", current_buffer_size: ", current_buffer_size,
- ", data length: ", data.length());
+ ", data length: ", data.length(),
+ ", SNI: ", crypto_negotiated_params().sni);
OnUnrecoverableError(QUIC_INTERNAL_ERROR,
"Too much data for crypto send buffer");
return;