Mailing List archive

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

[vdr] Re: Automatic Shutdown while logged in



Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de> wrote:

> > > What would be needed is a protection against shutdown while being
> > > logged into vdr.
> > >
> > > Solutions:
> > >
> > >  o SVDRP is also used for LastActivity.
> > >    Currently the svdrp.c code takes a timestamp to decide
> > >    when the port has a timeout, but does not update the
> > >    LastActivity from vdr.c
> > 
> > Ok, sounds like a reasonable idea to reset the timeout when there
> > is SVDRP activity.
> 
> I gave this some more thought and decided not to do this, because
> if you have, for instance, a mechanism that sends a prompt message
> to VDR whenever a new email arrives, there could be SVDRP connections
> every now and then and thus the timeout would never happen.

how about a EHLT DHLT command (enable/disable halt) for SVDRP? just an
idea, i don't use automatic shutdown anyways. ;-)

clemens



Home | Main Index | Thread Index