From: Ken Raeburn <raeburn@cygnus.com>
Subject: Re: gnus loops if nntp server connection closes without sending output
Date: 08 Mar 1998 01:20:30 -0500 [thread overview]
Message-ID: <tx14t19itzl.fsf@cygnus.com> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "07 Mar 1998 13:51:11 +0100"
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> > The loop in nntp-wait-for does not appear to handle a closed
> > connection, where no amount of waiting will produce output from the
> > closed pipe.
>
> Hm. It should check the status of the process and see whether it is
> still alive. Fix in Quassia Gnus v0.35. At least I think so. Could
> you check after it's been released?
Tried it (in 0.37), but the problem is still there. The loop here:
(while (or (not (memq (char-after (point)) '(?2 ?3 ?4 ?5)))
(looking-at "480"))
(when (looking-at "480")
(nntp-handle-authinfo process))
(nntp-accept-process-output process)
(goto-char (point-min)))
is being run on an empty buffer, so char-after returns nil, and the
loop never finishes. It doesn't get as far as the process-status
check.
next prev parent reply other threads:[~1998-03-08 6:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-02 2:58 Ken Raeburn
1998-03-07 12:51 ` Lars Magne Ingebrigtsen
1998-03-08 6:20 ` Ken Raeburn [this message]
1998-03-08 12:40 ` Lars Magne Ingebrigtsen
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=tx14t19itzl.fsf@cygnus.com \
--to=raeburn@cygnus.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).