mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-25 01:10:59 -04:00
fix: wrong stats display with connection errors
Some checks are pending
Contrib / admin/halog/ (push) Waiting to run
Contrib / dev/flags/ (push) Waiting to run
Contrib / dev/haring/ (push) Waiting to run
Contrib / dev/hpack/ (push) Waiting to run
Contrib / dev/poll/ (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run
Some checks are pending
Contrib / admin/halog/ (push) Waiting to run
Contrib / dev/flags/ (push) Waiting to run
Contrib / dev/haring/ (push) Waiting to run
Contrib / dev/hpack/ (push) Waiting to run
Contrib / dev/poll/ (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run
This commit is contained in:
parent
faea9078a5
commit
9ca34e48b3
1 changed files with 0 additions and 8 deletions
|
|
@ -1273,14 +1273,6 @@ struct task *hld_strm_task(struct task *t, void *context, unsigned int state)
|
|||
goto leave;
|
||||
err:
|
||||
TRACE_DEVEL("leaving on error", HLD_STRM_EV_TASK, hs);
|
||||
|
||||
if (url->tot_req > 1 || !arg_accu) {
|
||||
uint64_t ttfb; // time-to-first-byte
|
||||
ttfb = tv_us(tv_diff(&hs->req_date, &date));
|
||||
thrs_info[tid].tot_fbs++;
|
||||
thrs_info[tid].tot_ttfb += ttfb;
|
||||
}
|
||||
|
||||
thrs_info[tid].tot_perr++;
|
||||
url->mreqs++;
|
||||
if (arg_rcon > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue