* Ben Lovett <[EMAIL PROTECTED]> [23.02.2008 01:22]: > could someone perhaps shed some light on what i'm doing wrong, if > anything? perhaps a bug in the http check/tcp check code?
Looks like a bug in the parser. Table options are not copied to derived tables. Suggested fix: Index: parse.y =================================================================== RCS file: /cvs/src/usr.sbin/relayd/parse.y,v retrieving revision 1.109 diff -u -r1.109 parse.y --- parse.y 27 Feb 2008 15:36:42 -0000 1.109 +++ parse.y 28 Feb 2008 16:21:20 -0000 @@ -2052,6 +2052,10 @@ } tb->conf.flags |= dsttb->conf.flags; + /* Inherit table options */ + tb->conf.timeout = dsttb->conf.timeout; + strlcpy(dsttb->conf.demote_group, tb->conf.demote_group, sizeof(tb->conf.demote_group)); + /* Copy the associated hosts */ bzero(&tb->hosts, sizeof(tb->hosts)); TAILQ_FOREACH(dsth, &dsttb->hosts, entry) { If you need a quick workaround duplicate your global timeout in every forward statement. Regards, Armin Wolfermann