uint64_t lat_time; /* total latency time experienced */
uint64_t cpu_time; /* total CPU time consumed */
struct freq_ctr call_rate; /* stream task call rate without making progress */
+ uint32_t passes_connect; /* number of passes on the connect processing loop */
uint32_t passes_stconn; /* number of passes on the stconn evaluation code */
uint32_t passes_reqana; /* number of passes on the req analysers block */
uint32_t passes_resana; /* number of passes on the res analysers block */
uint32_t passes_propag; /* number of passes on the shut/err propag code */
+ /* 4 unused bytes here */
unsigned short max_retries; /* Maximum number of connection retried (=0 is backend is not set) */
short store_count;
s->lat_time = s->cpu_time = 0;
s->call_rate.curr_tick = s->call_rate.curr_ctr = s->call_rate.prev_ctr = 0;
- s->passes_stconn = s->passes_reqana = s->passes_resana = s->passes_propag = 0;
+ s->passes_connect = s->passes_stconn = s->passes_reqana = s->passes_resana = s->passes_propag = 0;
s->pcli_next_pid = 0;
s->pcli_flags = 0;
s->unique_id = IST_NULL;
}
do {
+ s->passes_connect++;
+
/* nb: step 1 might switch from QUE to ASS, but we first want
* to give a chance to step 2 to perform a redirect if needed.
*/
strm->conn_err_type, strm->srv_conn, strm->pend_pos,
LIST_INLIST(&strm->buffer_wait.list), strm->stream_epoch);
- chunk_appendf(buf, "%s p_stc=%u p_req=%u p_res=%u p_prp=%u\n", pfx,
- strm->passes_stconn, strm->passes_reqana, strm->passes_resana, strm->passes_propag);
+ chunk_appendf(buf, "%s p_con=%u p_stc=%u p_req=%u p_res=%u p_prp=%u\n", pfx,
+ strm->passes_connect, strm->passes_stconn, strm->passes_reqana, strm->passes_resana, strm->passes_propag);
chunk_appendf(buf,
"%s frontend=%s (id=%u mode=%s), listener=%s (id=%u)", pfx,