[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: idletimeout in default block - bug?

Bryan Stansell bryan@conserver.com
Thu, 8 Jul 2004 08:20:53 -0700 (PDT)


On Thu, Jul 08, 2004 at 09:41:57AM -0500, John Cagle wrote:
> I tried out the new idlestring and idletimeout feature, but conserver
> doesn't like it when I put "idletimeout" in a default block of
> conserver.cf.  It seems to only work in a console block. 
> "idlestring", however, does work in the default block.
> 
> Has anyone else seen this problem?

yep...me...just now.

gack.  there's a typo in the conserver/readcfg.c file.  here's a patch
that should fix it:

*** readcfg.c.dist      Tue Jun  1 16:45:47 2004
--- readcfg.c   Thu Jul  8 08:18:00 2004
***************
*** 4384,4390 ****
  /*  {"flow", DefaultItemFlow}, */
      {"host", DefaultItemHost},
      {"idlestring", DefaultItemIdlestring},
!     {"idletime", DefaultItemIdletimeout},
      {"include", DefaultItemInclude},
      {"initcmd", DefaultItemInitcmd},
      {"initspinmax", DefaultItemInitspinmax},
--- 4384,4390 ----
  /*  {"flow", DefaultItemFlow}, */
      {"host", DefaultItemHost},
      {"idlestring", DefaultItemIdlestring},
!     {"idletimeout", DefaultItemIdletimeout},
      {"include", DefaultItemInclude},
      {"initcmd", DefaultItemInitcmd},
      {"initspinmax", DefaultItemInitspinmax},

sorry about that.  it'll certainly be fixed in 8.1.9.

Bryan