Commit 1872caf9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Call the init methods of all backend styles.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1960 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 92c9be48
...@@ -402,6 +402,8 @@ void VBE_UpdateHealth(struct sess *sp, struct vbe_conn *, int); ...@@ -402,6 +402,8 @@ void VBE_UpdateHealth(struct sess *sp, struct vbe_conn *, int);
/* cache_backend_simple.c */ /* cache_backend_simple.c */
extern struct backend_method backend_method_simple; extern struct backend_method backend_method_simple;
extern struct backend_method backend_method_random;
extern struct backend_method backend_method_round_robin;
/* cache_ban.c */ /* cache_ban.c */
void AddBan(const char *, int hash); void AddBan(const char *, int hash);
......
...@@ -255,4 +255,6 @@ VBE_Init(void) ...@@ -255,4 +255,6 @@ VBE_Init(void)
MTX_INIT(&VBE_mtx); MTX_INIT(&VBE_mtx);
backend_method_simple.init(); backend_method_simple.init();
backend_method_random.init();
backend_method_round_robin.init();
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment