GNU bug report logs -
#30022
gnus nnimap-sequence vs yahoo hang
Previous Next
Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>
Date: Mon, 8 Jan 2018 06:03:02 UTC
Severity: normal
Found in version 5.13
Fixed in version 27.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
With the gnus included in recent debian packaged i386 emacs 25.2, in the
Group buffer, an M-g to get count of messages of a foreign imap group at
imap.mail.yahoo.com hangs. If C-g to stop then a second M-g succeeds.
Sticking in some protocol trace showed
out >> 1 CAPABILITY
out >> 1 LOGIN "username" "password"
in << 1 OK CAPABILITY completed
out >> 2 SELECT "mailboxname"
in << 1 OK LOGIN completed
hang ...
I suspect nnimap.el interprets "1 OK CAPABILITY" response as being login
completion, and issues the SELECT. Could that be right?
I don't know if a server is supposed to allow pipelined SELECT before
login completes. It seems recent imap.mail.yahoo.com doesn't like it.
I see nnimap-login uses nnimap-command so I take it the intention in
gnus is not to attempt such a thing anyway, but wait for login success.
I get some joy from the diff below setting nnimap-sequence so it starts
"2 LOGIN". The first M-g then succeeds for me as hoped.
I think the reason a second M-g on the group succeeds is that
nnimap-sequence is left incremented after the first attempt, so it goes
"3 LOGIN" or whatever bigger number.
I have this on a rather lagged connection, if that might make a
difference. I see the login taking a noticeable second or so, but don't
know if that's by the server or the connection.
-------------------
Gnus v5.13
GNU Emacs 25.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2017-09-12, modified by Debian
[0001-nnimap-sequence-initial-value-1-so-first-command-is-.patch (text/x-diff, attachment)]
This bug report was last modified 6 years and 192 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.