Metadata: replace usage of grpc_metadata_batch_size with TransportSize method (#27421)

pull/27433/head
Craig Tiller 3 years ago committed by GitHub
parent 06ef5893f8
commit fe9ad53c66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/core/ext/filters/client_channel/retry_filter.cc

@ -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;

Loading…
Cancel
Save