emacs-devel
[Top][All Lists]
Advanced

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

Re: url library and GnuTLS, and Emacs-issued certificates


From: Lars Magne Ingebrigtsen
Subject: Re: url library and GnuTLS, and Emacs-issued certificates
Date: Sun, 27 Mar 2011 12:36:20 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

Chong Yidong <address@hidden> writes:

>> But it already is.  If you don't supply a `capability-command'
>> parameter, it doesn't try to do any upgrades.
>
> That is poor semantics---it means that "type" is not really determined
> by :type, but by some combination of :type and the other arguments that
> may or may not be present.

If you just feed `open-protocol-stream' `network' without a capability
command, you get a non-upgraded connection.  If you do the same with
`try-starttls' you will also not get a non-upgraded connection.

I don't really see why the latter is clearer than the former.

(But in the latter case you could error out if you do that and not
supply a `capability-command', I guess.)

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

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