void h2o_http2_stream_proceed(h2o_http2_conn_t *conn, h2o_http2_stream_t *stream) { if (stream->state == H2O_HTTP2_STREAM_STATE_END_STREAM) { h2o_http2_stream_close(conn, stream); } else { h2o_proceed_response(&stream->req); } }
static void on_send_next_push(h2o_socket_t *sock, int status) { struct st_h2o_http1_conn_t *conn = sock->data; if (status != 0) close_connection(conn, 1); else h2o_proceed_response(&conn->req); }
static void on_send_next_push(h2o_socket_t *sock, const char *err) { struct st_h2o_http1_conn_t *conn = sock->data; if (err != NULL) close_connection(conn, 1); else h2o_proceed_response(&conn->req); }
static void deferred_proceed_cb(h2o_timeout_entry_t *entry) { h2o_req_t *req = H2O_STRUCT_FROM_MEMBER(h2o_req_t, _timeout_entry, entry); h2o_proceed_response(req); }