Gnus development mailing list
 help / color / mirror / Atom feed
From: Kevin Greiner <kgreiner@xpediantsolutions.com>
Subject: Re: nnimap, sll and timeouts
Date: Thu, 10 Apr 2003 18:24:16 -0500	[thread overview]
Message-ID: <uy92ilyvz.fsf@xpediantsolutions.com> (raw)
In-Reply-To: <7ny92ibkal.fsf@slayer.templeofhate.com>

Frank Schmitt <usereplyto@Frank-Schmitt.net> writes:

> Hello
>
> I've got the following problem: Im using nnimap via ssl with the
> following config:
>
> (add-to-list 'gnus-secondary-select-methods 
>                '(nnimap "" (nnimap-address "mail.host.net")(nnimap-stream ssl)))
>
> My problem is that after some time, the remote server drops the
> connection but Gnus doesn't recognize this (probably because the ssl
> connection is still open).

The status of the socket will not update until you actually try to do
I/O on it.

> So if I want to check for new mail, I've got to change to server buffer,
> close connection and reopen it.
>
> Any clever solution for my problem? I guess more people than just me run
> into it. (At least one guy at #mygnus at irc.my.gnus.org does .-))

Some nntp servers have similar problems (i.e. they drop idle
connections).  You might want to look at nntp-with-open-group.  Of
course, even if it is what you need, you'll have quite a bit of work
ahead to incorporate it into nnimap.

Kevin



  reply	other threads:[~2003-04-10 23:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-10 12:37 Frank Schmitt
2003-04-10 23:24 ` Kevin Greiner [this message]
2003-04-12 16:04 ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uy92ilyvz.fsf@xpediantsolutions.com \
    --to=kgreiner@xpediantsolutions.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).