Add more code_count macros to debug enabling tls resumption
PiperOrigin-RevId: 322901137
Change-Id: If98bb48597091c7ca7527051376709ee565a5008
diff --git a/quic/core/tls_server_handshaker.cc b/quic/core/tls_server_handshaker.cc
index 054d174..cb225a9 100644
--- a/quic/core/tls_server_handshaker.cc
+++ b/quic/core/tls_server_handshaker.cc
@@ -448,6 +448,7 @@
size_t* out_len,
size_t max_out_len,
quiche::QuicheStringPiece in) {
+ QUIC_CODE_COUNT(quic_tls_ticket_seal);
DCHECK(proof_source_->GetTicketCrypter());
std::vector<uint8_t> ticket = proof_source_->GetTicketCrypter()->Encrypt(in);
if (max_out_len < ticket.size()) {
@@ -467,6 +468,7 @@
size_t* out_len,
size_t max_out_len,
quiche::QuicheStringPiece in) {
+ QUIC_CODE_COUNT(quic_tls_ticket_open);
DCHECK(proof_source_->GetTicketCrypter());
if (!ticket_decryption_callback_) {