Merge pull request #11235 from ncteisen/fix

Add trace protector to flag
pull/1696/merge
Noah Eisen 8 years ago committed by GitHub
commit 9ea6d79474
  1. 2
      src/core/ext/transport/chttp2/transport/chttp2_transport.c

@ -2168,7 +2168,7 @@ static void update_frame(grpc_exec_ctx *exec_ctx, grpc_chttp2_transport *t,
if (delta == 0 || (delta > -frame_size / 10 && delta < frame_size / 10)) { if (delta == 0 || (delta > -frame_size / 10 && delta < frame_size / 10)) {
return; return;
} }
if (grpc_bdp_estimator_trace) { if (GRPC_TRACER_ON(grpc_bdp_estimator_trace)) {
gpr_log(GPR_DEBUG, "%s: update max_frame size to %d", t->peer_string, gpr_log(GPR_DEBUG, "%s: update max_frame size to %d", t->peer_string,
(int)frame_size); (int)frame_size);
} }

Loading…
Cancel
Save