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

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <p05101400b8c284152df4@[200.226.56.145]>
>Oded Arbel wrote:
>>
>>  Hi list.
>>
>>  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.


-- 

Andreas Fink
Fink-Consulting

------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [email protected]  Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/  Nickname afink
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.