emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open-network-stream-nowait is IPv6 unfriendly


From: Ken Raeburn
Subject: Re: open-network-stream-nowait is IPv6 unfriendly
Date: Fri, 29 Oct 2004 17:26:22 -0400

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 via email to

[Prev in Thread] Current Thread [Next in Thread]