Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Schierl <schierlm-usenet@gmx.de>
Subject: nnrss: handle unavailability of rss server more gracefully?
Date: Sat, 27 Mar 2004 22:06:44 +0100	[thread overview]
Message-ID: <wk3c7um23f.fsf@smsoft.ixy.de> (raw)

Hi,

today my emacs crashed (i.e. hanged) when fetching news. A few
edebug sessions later, i knew that the problem was in

mm-url-insert, which was called by an unreachable (timing out) host
name. wget (mm-url-program is `wget' here) seems to try to fetch the
file indefinitely (at least several minutes). So I thought the proper
way would be to do

(setq mm-url-predefined-programs 
'((wget "wget" "-T" "10" "-t" "1" "--user-agent=mm-url" "-q" "-O"
"-")))

to make wget fail after 10 seconds. However, this will signal an error
and this error prevents updating the rest of the groups.

As a workaround, I put nnrss: to Denied in the server buffer (this
allows me at least to fetch news from nntp server, but not the other
rss feeds).

Can I deny only one single RSS feed? And would it be possible for
nnrss to notice when a feed is down and fetch the others nevertheless?

Michael




             reply	other threads:[~2004-03-27 21:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-27 21:06 Michael Schierl [this message]
2004-05-16 14:06 ` Lars Magne Ingebrigtsen
2004-05-17 20:06   ` Michael Schierl
2004-05-17 20:53     ` Lars Magne Ingebrigtsen
2004-05-19 20:40       ` Michael Schierl
2004-05-19 20:49         ` Lars Magne Ingebrigtsen
2004-05-19 21:39           ` Michael Schierl
2004-05-19 21:43             ` Lars Magne Ingebrigtsen
2004-05-20 21:04               ` Michael Schierl
2004-09-08 19:52                 ` Ken Coleman

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=wk3c7um23f.fsf@smsoft.ixy.de \
    --to=schierlm-usenet@gmx.de \
    --cc=schierlm@gmx.de \
    /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).