Hi Dan,
I got and reviewed the log. I also have to admit that Iprobably misundertood your question a bit (but my memory is not really clear on that). The bottom line is that there is some message loss, no way around. Interestingly, I am currently discussing this with another implementer. You may want to have a look here:
http://blog.gerhards.net/2008/05/why-yo ... e-tcp.htmlThat said, the best approach would be to RELP, but you can't because v2 does not support it. Martin, the other implementor (on NetBSD) suggested a work-around for this very issue. It does not work 100% reliably, but I think it is a better work-around that what I currently use. I will see if I can find time to implement it (depends on a couple of other things, next weeks is *very* busy).
That work-around will, in many cases, guard against the loss of a single message if the the remote server was terminated and restarted. It very much depends on timing, and so it is not a total cure. It also doesn't guard against network failures.
I suggest to keep watching the mailing list for updates. If I can, I will also update this thread and it would be great if you could try out a new version.
Thanks,
Rainer