Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <simon@josefsson.org>
Cc: ding@gnus.org
Subject: Re: Timeouts with nnimap?
Date: 27 Mar 2001 22:55:51 +0200	[thread overview]
Message-ID: <ilu8zlrnd7s.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <ltitkwvys3.fsf@asfast.com> (Lloyd Zusman's message of "26 Mar 2001 19:30:36 -0500")

Lloyd Zusman <ljz@asfast.com> writes:

> While I'm having these problems, `gnus-group-get-new-news' and other
> similar commands hang forever while gnus tries to access the imap
> server for my nnimap group.  This causes gnus to hang in a state that
> can only be interrupted by issuing a `kill' command from another
> shell.

If C-g doesn't interrupt things, it's probably a emacs problem.

> Is there any way to set a timeout for nnimap, to prevent gnus from
> hanging in this case?

Not from a variable, but perhaps you could add some logic to
`imap-wait-for-tag' (the function that waits for network I/O), I'd
guess it's this function that "hangs".  If it's the built-in
`accept-process-output' function that hangs, this probably can only be
fixed in the emacs core.  Reproducing this outside of Gnus (using
calls to `open-network-stream' etc) would be a good thing to simplify
debugging.



  reply	other threads:[~2001-03-27 20:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27  0:30 Lloyd Zusman
2001-03-27 20:55 ` Simon Josefsson [this message]
2001-03-28 12:12   ` Bjørn Mork
2001-04-01 14:39     ` Steinar Bang
2001-04-01 20:29       ` Kai Großjohann
2001-04-01 20:49         ` Bjørn Mork
2001-04-01 21:22           ` Kai Großjohann
2001-04-02  8:42             ` Bjørn Mork
2001-04-02  6:21         ` Steinar Bang
2001-04-02  2:47           ` Simon Josefsson
2001-04-02 10:25             ` Bjørn Mork
2001-04-02 10:36               ` Steinar Bang
2001-04-02 15:12                 ` Bjørn Mork

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=ilu8zlrnd7s.fsf@barbar.josefsson.org \
    --to=simon@josefsson.org \
    --cc=ding@gnus.org \
    /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).