-e only triggered on connection/protocol errors, not on
requests that silently timed out waiting for a response. Now that
timeouts are correctly counted as errors (previous commit), make them
trigger -e the same way any other error does.
usr->nreqs = usr->nreqs == -1 ? -1 : usr->nreqs + 1;
LIST_DELETE(&hs->list);
hldstream_free(&hs);
+
+ if (arg_serr == 1) {
+ usr->flags |= HLD_USR_FL_STOP;
+ HA_ATOMIC_STORE(&all_usr_stop_asap, 1);
+ }
}
if ((usr->flags & HLD_USR_FL_STOP) || HA_ATOMIC_LOAD(&all_usr_stop_asap)) {