Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: race condition ?

2005-04-11 by mpaul888

--- In milter-greylist@yahoogroups.com, Emmanuel Dreyfus <manu@n...>
wrote:
> On Mon, Apr 11, 2005 at 09:50:09AM +0200, Martin Paul wrote:
> > Could that be the problem ? And if so, would a viable fix be to
> > change "if (rest < 0) {" to "if (rest <= 0) {" in pending_check()
> > (line 305) ?
> 
> Give it a try and let us know...

Hardly possible, as I would need a test message that's re-sent
after exactly one minute to have rest == 0.

You know the code better than me, does my description of the
bug sound reasonable ?

mp.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.