|
|
|
@ -824,10 +824,10 @@ static const char* write_state_name(grpc_chttp2_write_state st) { |
|
|
|
|
|
|
|
|
|
static void set_write_state(grpc_chttp2_transport* t, |
|
|
|
|
grpc_chttp2_write_state st, const char* reason) { |
|
|
|
|
GRPC_CHTTP2_IF_TRACING(gpr_log(GPR_INFO, "W:%p %s state %s -> %s [%s]", t, |
|
|
|
|
t->is_client ? "CLIENT" : "SERVER", |
|
|
|
|
write_state_name(t->write_state), |
|
|
|
|
write_state_name(st), reason)); |
|
|
|
|
GRPC_CHTTP2_IF_TRACING( |
|
|
|
|
gpr_log(GPR_INFO, "W:%p %s [%s] state %s -> %s [%s]", t, |
|
|
|
|
t->is_client ? "CLIENT" : "SERVER", t->peer_string, |
|
|
|
|
write_state_name(t->write_state), write_state_name(st), reason)); |
|
|
|
|
t->write_state = st; |
|
|
|
|
/* If the state is being reset back to idle, it means a write was just
|
|
|
|
|
* finished. Make sure all the run_after_write closures are scheduled. |
|
|
|
|