Searched refs:req_stat (Results 1 – 5 of 5) sorted by relevance
81 auto req_stat = client->get_req_stat(session->stream_resp_counter_); in htp_msg_completecb() local83 assert(req_stat); in htp_msg_completecb()86 if (req_stat->data_offset >= config->data_length) { in htp_msg_completecb()201 auto req_stat = client_->get_req_stat(stream_req_counter_); in submit_request() local203 client_->record_request_time(req_stat); in submit_request()250 auto req_stat = client_->get_req_stat(stream_req_counter_); in on_write() local251 if (!req_stat) { in on_write()255 if (req_stat->data_offset < config->data_length) { in on_write()256 auto req_stat = client_->get_req_stat(stream_req_counter_); in on_write() local265 req_stat->data_offset)) == -1 && in on_write()[all …]
117 auto req_stat = client->get_req_stat(frame->hd.stream_id); in before_frame_send_callback() local118 assert(req_stat); in before_frame_send_callback()119 client->record_request_time(req_stat); in before_frame_send_callback()131 auto req_stat = client->get_req_stat(stream_id); in file_read_callback() local132 assert(req_stat); in file_read_callback()134 while ((nread = pread(config->data_fd, buf, length, req_stat->data_offset)) == in file_read_callback()143 req_stat->data_offset += nread; in file_read_callback()145 if (req_stat->data_offset == config->data_length) { in file_read_callback()150 if (req_stat->data_offset > config->data_length || nread == 0) { in file_read_callback()
188 Stream::Stream() : req_stat{}, status_success(-1) {} in Stream()793 auto &req_stat = p.second.req_stat; in process_timedout_streams() local794 if (!req_stat.completed) { in process_timedout_streams()795 req_stat.stream_close_time = std::chrono::steady_clock::now(); in process_timedout_streams()954 stream.req_stat.status = status; in on_header()982 stream.req_stat.status = status; in on_status_code()1002 auto req_stat = get_req_stat(stream_id); in on_stream_close() local1003 if (!req_stat) { in on_stream_close()1007 req_stat->stream_close_time = std::chrono::steady_clock::now(); in on_stream_close()1009 req_stat->completed = true; in on_stream_close()[all …]
314 void sample_req_stat(RequestStat *req_stat);325 RequestStat req_stat; member465 void record_request_time(RequestStat *req_stat);
113 auto req_stat = client_->get_req_stat(stream_id); in submit_request_internal() local114 assert(req_stat); in submit_request_internal()115 client_->record_request_time(req_stat); in submit_request_internal()