Lines Matching refs:state
35 #define connection_set_state(r, n) ((r)->state = (n))
38 static void connection_set_state_error(request_st * const r, const request_state_t state) { in connection_set_state_error() argument
39 connection_set_state(r, state); in connection_set_state_error()
193 || r->state == CON_STATE_ERROR) { in connection_handle_response_end_state()
621 if (h2r->state != CON_STATE_ERROR) in connection_transition_h2()
955 http_request_state_append(tb, r->state); in __attribute_nonnull__()
972 switch ((ostate = r->state)) { in connection_state_machine_loop()
1047 } while (ostate != (request_state_t)r->state); in connection_state_machine_loop()
1061 if (r->state == CON_STATE_CLOSE) in connection_revents_err()
1112 if (con->revents_err && r->state != CON_STATE_ERROR) { in connection_set_fdevent_interest()
1121 switch(r->state) { in connection_set_fdevent_interest()
1238 if (r->state < CON_STATE_WRITE) in connection_state_machine_h2()
1241 else if (r->state == CON_STATE_WRITE) { in connection_state_machine_h2()
1306 if (h2r->state == CON_STATE_WRITE) { in connection_state_machine_h2()
1316 if (h2r->state == CON_STATE_WRITE) { in connection_state_machine_h2()
1366 if (r->state == CON_STATE_CLOSE) { in connection_check_timeout()
1371 else if (con->h2 && r->state == CON_STATE_WRITE) { in connection_check_timeout()
1376 if (rr->state == CON_STATE_ERROR) { /*(should not happen)*/ in connection_check_timeout()
1397 if (rr->state != CON_STATE_READ_POST in connection_check_timeout()
1440 if (con->request_count == 1 || r->state != CON_STATE_READ) { in connection_check_timeout()
1480 && r->state == CON_STATE_WRITE && con->write_request_ts != 0) { in connection_check_timeout()
1545 if (r->state == CON_STATE_CLOSE) { in connection_graceful_shutdown_maint()
1553 else if (con->h2 && r->state == CON_STATE_WRITE) { in connection_graceful_shutdown_maint()
1560 else if (r->state == CON_STATE_READ && con->request_count > 1 in connection_graceful_shutdown_maint()
1929 if (r->state == CON_STATE_READ_POST) { in connection_handle_read_post_state()