From 0b637082ef1bb924d683e347174cb5221fdac2f3 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 25 Apr 2006 08:17:17 +0000 Subject: [PATCH] Add new shmlog tags and handling states git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@152 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/include/shmlog_tags.h | 3 +++ varnish-cache/include/vcl_lang.h | 3 ++- varnish-cache/lib/libvcl/vcl_fixed_token.c | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/varnish-cache/include/shmlog_tags.h b/varnish-cache/include/shmlog_tags.h index e0e021cc..32a9a3b0 100644 --- a/varnish-cache/include/shmlog_tags.h +++ b/varnish-cache/include/shmlog_tags.h @@ -11,6 +11,9 @@ SLTM(CLI) SLTM(SessionOpen) SLTM(SessionReuse) SLTM(SessionClose) +SLTM(BackendOpen) +SLTM(BackendReuse) +SLTM(BackendClose) SLTM(ClientAddr) SLTM(Handling) SLTM(Request) diff --git a/varnish-cache/include/vcl_lang.h b/varnish-cache/include/vcl_lang.h index 0a9ad33b..e095fd80 100644 --- a/varnish-cache/include/vcl_lang.h +++ b/varnish-cache/include/vcl_lang.h @@ -52,7 +52,8 @@ struct sess { HND_Pass, HND_Pipe, HND_Lookup, - HND_Fetch + HND_Fetch, + HND_Insert } handling; char done; diff --git a/varnish-cache/lib/libvcl/vcl_fixed_token.c b/varnish-cache/lib/libvcl/vcl_fixed_token.c index 8e162f43..e1d85dc1 100644 --- a/varnish-cache/lib/libvcl/vcl_fixed_token.c +++ b/varnish-cache/lib/libvcl/vcl_fixed_token.c @@ -440,7 +440,8 @@ vcl_output_lang_h(FILE *f) fputs(" HND_Pass,\n", f); fputs(" HND_Pipe,\n", f); fputs(" HND_Lookup,\n", f); - fputs(" HND_Fetch\n", f); + fputs(" HND_Fetch,\n", f); + fputs(" HND_Insert\n", f); fputs(" } handling;\n", f); fputs("\n", f); fputs(" char done;\n", f); -- 2.39.5