• Poul-Henning Kamp's avatar
    Go over the return(restart) code. · 480c0a5d
    Poul-Henning Kamp authored
    This is vastly inspired by #1113 and scoof+martins testcase+patch.
    
    Add a new cnt* state "cnt_restart" to do the mandatory restart work,
    and to move the restart limit check out of vcl_recv{}, getting rid
    of a nasty XXX comment.
    
    Set the explicit 503 when over limit, reset in other cases.
    
    Expand scoof+martins test-case to cover more vcl methods, which
    were also affected, but not fixed in their patch.
    
    Fixes	#1113
    480c0a5d
Name
Last commit
Last update
..
cache.h Loading commit data...
cache_acceptor.c Loading commit data...
cache_backend.c Loading commit data...
cache_backend.h Loading commit data...
cache_backend_cfg.c Loading commit data...
cache_backend_poll.c Loading commit data...
cache_ban.c Loading commit data...
cache_busyobj.c Loading commit data...
cache_center.c Loading commit data...
cache_cli.c Loading commit data...
cache_dir.c Loading commit data...
cache_dir_dns.c Loading commit data...
cache_dir_random.c Loading commit data...
cache_dir_round_robin.c Loading commit data...
cache_esi.h Loading commit data...
cache_esi_deliver.c Loading commit data...
cache_esi_fetch.c Loading commit data...
cache_esi_parse.c Loading commit data...
cache_expire.c Loading commit data...
cache_fetch.c Loading commit data...
cache_gzip.c Loading commit data...
cache_hash.c Loading commit data...
cache_http.c Loading commit data...
cache_httpconn.c Loading commit data...
cache_lck.c Loading commit data...
cache_main.c Loading commit data...
cache_mempool.c Loading commit data...
cache_panic.c Loading commit data...
cache_pipe.c Loading commit data...
cache_pool.c Loading commit data...
cache_response.c Loading commit data...
cache_rfc2616.c Loading commit data...
cache_session.c Loading commit data...
cache_shmlog.c Loading commit data...
cache_vary.c Loading commit data...
cache_vcl.c Loading commit data...
cache_vrt.c Loading commit data...
cache_vrt_re.c Loading commit data...
cache_vrt_var.c Loading commit data...
cache_vrt_vmod.c Loading commit data...
cache_wrk.c Loading commit data...
cache_wrw.c Loading commit data...
cache_ws.c Loading commit data...