bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] Problem with timeout interaction


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] Problem with timeout interaction
Date: Wed, 08 Oct 2003 16:11:39 +0300

> Resetting the deleted flags on abnormal termination would help the
> popular clients here.  They would choke on it the first time, the
> deleted flags would be reset and the subsequent connections would work.
> 
> It's not ideal, but I suspect it's something we have to live with.
> 
> If you agree, I'll toss this in.  Indicate if I should add a silent flag
> to pop3d_rset, or if I should split the function in two.  I think I've
> figured out the testsuite enough to do the other coding too.

I guess splitting it will do. This is going to look like:

int
pop3d_abquit (int reason)
{
  /* Unlock spool */
    if (state != AUTHORIZATION)
      {
        pop3d_unlock ();
        pop3d_rset_internal ();
        mailbox_flush (mbox, 0);
        mailbox_close (mbox);
        mailbox_destroy (&mbox);
      }
   ...                              

Right?

Regards,
Sergey   





reply via email to

[Prev in Thread] Current Thread [Next in Thread]