Skip to content

Commit

Permalink
Metadata: replace usage of grpc_metadata_batch_size with TransportSiz…
Browse files Browse the repository at this point in the history
…e method (grpc#27421)
  • Loading branch information
ctiller authored Sep 21, 2021
1 parent 06ef589 commit fe9ad53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ext/filters/client_channel/retry_filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2391,8 +2391,8 @@ RetryFilter::CallData::PendingBatch* RetryFilter::CallData::PendingBatchesAdd(
// gRPC clients do not send trailing metadata.
if (batch->send_initial_metadata) {
pending_send_initial_metadata_ = true;
bytes_buffered_for_retry_ += grpc_metadata_batch_size(
batch->payload->send_initial_metadata.send_initial_metadata);
bytes_buffered_for_retry_ += batch->payload->send_initial_metadata
.send_initial_metadata->TransportSize();
}
if (batch->send_message) {
pending_send_message_ = true;
Expand Down

0 comments on commit fe9ad53

Please sign in to comment.