crashes after being out of desktop

Tom Hughes tom at compton.nu
Sun Apr 25 00:17:20 BST 1999


In message <7c2e6df748.rav21 at gromit.mk-net.demon.co.uk>
          Richard van der Hoff <rav21 at cam.ac.uk> wrote:

> In message <a6b34bf648.tom at compton.compton.nu>
>           Tom Hughes <tom at compton.nu> wrote:
>
> > It is nothing to do with the connection timing out unless you're
> > talking to a server which violates the spec. I am very careful to
> > make sure that I ping the server frequently enough to prevent
> > timeouts.
>
> I think we may be at cross-purposes here: I'm talking about if, say,
> you've pressed F12 so that the usual Wimp_Poll thing isn't happening.  I'm
> not sure that you can do what you suggest under those circumstances
> without resident code (ie in the RMA)?

Indeed I can't and that will pose a problem. An IMAP connection should
be OK for up to half an hour but an NNTP connection might be more of
a problem.

> > The latest versions have code in them specifically to avoid the
> > problems you were having and this is the first I've heard that
> > it isn't working.
>
> > ...
>
> Indeed, it seems I can now use Pine (and any other IMAP client for that
> matter) to my heart's content :-).  As I say, it's fine until I leave the
> desktop.  I'll send you the crashdump file if you think it may be helpful?

Excellent. Glad to know I managed to fix that. Actually you have the
guy I share an office with at work to thank for that as it was his
idea to use EXAMINE instead of SELECT except when absolutely necessary.

> > In general it is not possible just to reopen the connection as you would
> > have to be able to restore the exact state of the previous connection
> > which can be difficult if you're in the middle of a sequence of
> > commands.
>
> Hmm;  yes, I see.  That does make it rather hard.

Well NNTP isn't too bad as it's a vaguely sane line orientated
protocol. The IMAP protocol is horrible though and if you're in the
middle of parsing a response when the connection closes trying to
back out to a stable position so you can retry a command is very
nasty indeed.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
...You will always have good luck in your personal affairs.




More information about the remotenb mailing list