gnutls-devel
[Top][All Lists]
Advanced

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

Re: gnutls-cli should handle network errors more gracefully


From: Nikos Mavrogiannopoulos
Subject: Re: gnutls-cli should handle network errors more gracefully
Date: Sun, 25 Nov 2012 21:52:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10

On 11/24/2012 10:54 PM, Mantas Mikulėnas wrote:

> I often use `gnutls-cli` to connect to dualstack hosts (having both IPv4
> and IPv6 addresses).
> 
> At times, when the client computer has an IPv6 default route, but the
> server is temporarily unreachable over IPv6, `gnutls-cli` exits
> immediately after failing to connect to the first address. Because of
> this, it is impossible to connect to such servers until I disable IPv6
> entirely on my computer. The lack of -4/-6 options to force IPv4 (or
> IPv6) makes things only worse.

...
> The expected result here is that `gnutls-cli` would keep trying other

> addresses returned from getaddrinfo(), until at least one succeeds.


I'm curious, how do other networking programs avoid this issue? Do they
keep trying or do they provide an option to force IPv4 or 6?

regards,
Nikos




reply via email to

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