unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Live System User <nyc4bos@aol.com>
To: To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 29615@debbugs.gnu.org
Subject: bug#29615: 25.2; DNS multiple addresses and `open-protocol-stream`
Date: Sun, 10 Dec 2017 08:19:59 -0500	[thread overview]
Message-ID: <87fu8isosg.fsf@aol.com> (raw)
In-Reply-To: <87r2s5ry33.fsf@aol.com>

On Dez 09 2017, Andreas Schwab <schwab <at> linux-m68k.org> wrote:
>On Dez 08 2017, Live System User <address@hidden> wrote:
>
>>  (nnimap "aol"
>>        (nnimap-address "imap.aim.com")
>>        (nnimap-server-port 993)
>>        (nnimap-stream ssl)
>
>I'm using similar select methods, and they work for me.  But I don't set
>nnimap-stream or nnimap-server-port, but let Gnus figure that out by
>itself.


        It appears that `open-protocol-stream' is being passed the
        stanza name/label by either the `nnimap-open-connection' or
        ``nnimap-open-connection-1' functions instead of the explicit
        specified value of "nnimap-address":

	      (open-protocol-stream
	       "*nnimap*" (current-buffer) nnimap-address
	       (nnimap-map-port (car ports))
	       :type nnimap-stream
               [...]


        The `open-protocol-stream' function is defined as:
        
        (open-protocol-stream NAME BUFFER HOST SERVICE &rest PARAMETERS)


        According to the backtrace, the HOST being passed to and used
        by `open-protocol-stream' is "aol":

open-protocol-stream("*nnimap*" #<buffer  *nnimap aol nil  *nntpd**-338562> "aol" "993" :type ssl


        However, this same backtrace shows

  nnimap-open-server("aol" ((nnimap-address "imap.aim.com")
  (nnimap-server-port 993) (nnimap-stream ssl)

        So why isn't [nnimap-address "imap.aim.com"] being used?
        It should be passed to `open-protocol-stream' by
        `nnimap-open-connection-1' (which gets it from
        `nnimap-open-connection').

        In your setup, can you confirm that the "nnimap-address"
        address is being passed and used and NOT the stanza name/label
        in the functions `nnimap-open-connection',
        `nnimap-open-connection-1' and `open-protocol-stream'?

        Thanks.







  parent reply	other threads:[~2017-12-10 13:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-08 16:20 bug#29615: 25.2; DNS multiple addresses and `open-protocol-stream` Live System User
2017-12-08 16:38 ` Andreas Schwab
2017-12-08 19:40 ` bug#29615: 25.2; DNS multiple addresses and `open-protocol-stream' Live System User
2017-12-09 11:47   ` Andreas Schwab
2017-12-08 19:57 ` bug#29615: 25.2; DNS multiple addresses and `open-protocol-stream` Glenn Morris
2017-12-10 13:19 ` Live System User [this message]
2017-12-10 13:57   ` Andreas Schwab
2017-12-10 15:24 ` Live System User
2017-12-10 16:35   ` Andreas Schwab

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fu8isosg.fsf@aol.com \
    --to=nyc4bos@aol.com \
    --cc=29615@debbugs.gnu.org \
    --cc=schwab@linux-m68k.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).