added some more docs

pull/7333/head
David Garcia Quintas 9 years ago
parent 04fae26cf6
commit c0299df85d
  1. 5
      src/core/ext/load_reporting/load_reporting.h
  2. 1
      src/core/ext/transport/chttp2/transport/writing.c

@ -58,8 +58,11 @@ typedef enum grpc_load_reporting_source {
typedef struct grpc_load_reporting_call_data {
const grpc_load_reporting_source source; /**< point of last data update. */
// XXX
/** Unique identifier for the channel associated with the data */
intptr_t channel_id;
/** Unique identifier for the call associated with the data. If the call
* hasn't been created yet, it'll have a value of zero. */
intptr_t call_id;
/** Only valid when \a source is \a GRPC_LR_POINT_CALL_DESTRUCTION, that is,

@ -264,6 +264,7 @@ static void finalize_outbuf(grpc_exec_ctx *exec_ctx,
send_bytes, is_last_frame, &stream_writing->stats,
&transport_writing->outbuf);
if (is_first_data_frame) {
/* TODO(dgq): this is a hack. It'll be fix in a future refactoring */
stream_writing->stats.data_bytes -= 5; /* discount grpc framing */
is_first_data_frame = false;
}

Loading…
Cancel
Save