unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ken Raeburn <raeburn@raeburn.org>
Cc: emacs-devel@gnu.org
Subject: Re: open-network-stream-nowait is IPv6 unfriendly
Date: Fri, 29 Oct 2004 17:26:22 -0400	[thread overview]
Message-ID: <2E5F8B78-29F1-11D9-B5AB-000A95909EE2@raeburn.org> (raw)
In-Reply-To: <jeis8twsxz.fsf@sykes.suse.de>

On Oct 29, 2004, at 09:32, Andreas Schwab wrote:
> Normally you are supposed to fall back to IPv4 when an IPv6 connection
> fails.  But there is no way to do that if you use
> open-network-stream-nowait: connect will just return EINPROGRESS, and 
> the
> actual connect failure which would otherwise cause 
> make-network-process to
> try the next address returned by getaddrinfo is reported as a genuine
> error to the process sentinel.

Sounds like it's unfriendly towards any situation where the destination 
has multiple addresses and one isn't reachable, which can happen in the 
IPv4 world too.  Perhaps the addrinfo list should be preserved in the 
process data until the connection is established, so the handler can 
loop through...

Ken

      reply	other threads:[~2004-10-29 21:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-29 13:32 open-network-stream-nowait is IPv6 unfriendly Andreas Schwab
2004-10-29 21:26 ` Ken Raeburn [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

  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=2E5F8B78-29F1-11D9-B5AB-000A95909EE2@raeburn.org \
    --to=raeburn@raeburn.org \
    --cc=emacs-devel@gnu.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).