emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] GnuTLS support on Woe32


From: Juanma Barranquero
Subject: Re: [PATCH] GnuTLS support on Woe32
Date: Tue, 3 May 2011 01:05:30 +0200

On Mon, May 2, 2011 at 23:16, Chong Yidong <address@hidden> wrote:

> In the case of open-network-stream, why do you need to use
> gnutls-available-p?  Why not either use `starttls', or do `tls' and then
> `network' if that fails?

Lars already answered, but I'd like to comment on this:

> After all, gnutls not being available is only
> one of many possible failure modes, so it's better to just let
> open-network-stream handle them.

For the Windows port, having libgnutls-26.dll unavailable is not a
failure; it's entirely parallel to the non-Windows ports being built
withouth GnuTLS support. Checking that the library it is available
should be totally equivalent (modulo the moment it happens) to a
feature check or (if (fboundp 'whatever) ...).

    Juanma



reply via email to

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