RE: [PATCH] Resubmit: dlr.c logic to remove old DLRs

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
> -----Original Message-----
> From: Andreas Fink [mailto:[email protected]]
> Sent: Saturday, March 23, 2002 9:14 PM
> To: Stipe Tolj
> Cc: [email protected]
> Subject: Re: [PATCH] Resubmit: dlr.c logic to remove old DLRs

> >>  Since I didn't get any concrete responses about my 
> queries about dlr.c
> >>  mis-behavior about removing non-final DLRs when getting 
> SMSC_* type DLR,
> >>  here's my patch to dlr.c to add support for generating 
> SMSC_* type DLRs.
> >>  it changes the logic for removing old DLRs from storage 
> to only remove
> >>  the DLR if it reaches on of the "final" stages (success 
> or failure),
> >>  instead of the current implementation where it will 
> remove DLRs from
> >>  storage on any even other the DLR_BUFFERED.
> >
> >added to STATUS as available patch.
> >
> >Andreas, what do you think about this?
> 
> Sounds absolutely logical to me.
> However "final" stage can also be reached earlier if the dlr-mask 
> indicates that we're not interested in success and/or failure.

The logic in the patch allows for that.

--
Oded Arbel
m-Wise Inc.
[email protected]

Any task can be completed in only one-third more time than is currently
estimated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.