Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: gnus loops if nntp server connection closes without sending output
Date: 08 Mar 1998 13:40:33 +0100	[thread overview]
Message-ID: <m3btvhcq4e.fsf@sparky.gnus.org> (raw)
In-Reply-To: Ken Raeburn's message of "08 Mar 1998 01:20:30 -0500"

Ken Raeburn <raeburn@cygnus.com> writes:

> 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.

Yup.  I've now added a check to that loop as well.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


      reply	other threads:[~1998-03-08 12:40 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
1998-03-08 12:40     ` Lars Magne Ingebrigtsen [this message]

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=m3btvhcq4e.fsf@sparky.gnus.org \
    --to=larsi@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).