• Lachlan Abbott's avatar
    tranport: Increment MAIN.client_req exactly once · 20d356b3
    Lachlan Abbott authored
    When a request comes back from the waiting list, it is accounted for in
    the client_req counter, despite not being a new request. To avoid the
    spurious increments, a request is counted only after leaving the state
    machine for good. This has no effect on when the client_req increment
    becomes visible since it is part of the "wrk" group in the first place.
    
    In 2e66e0b9 the client_req increment was
    moved from the request state machine (R_STP_TRANSPORT) to individual
    transport. This patch can't be reverted because shortly aftwerwards the
    ESI transport changed in 2c59afe2 and
    now runs the R_STP_TRANSPORT step and the client_req counter does not
    count sub-requests.
    
    Refs 2e66e0b9
    Refs 2c59afe2
    20d356b3
Name
Last commit
Last update
.circleci Loading commit data...
.github Loading commit data...
bin Loading commit data...
contrib Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
vmod Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.lgtm.yml Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...
vtc.am Loading commit data...
wflags.py Loading commit data...