[Top][All Lists]

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

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

From: Chong Yidong
Subject: Re: url library and GnuTLS, and Emacs-issued certificates
Date: Sat, 26 Mar 2011 19:32:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Chong Yidong <address@hidden> writes:
>> How about if we change this by adding a :return-list parameter that
>> makes open-network-stream (merged from open-protocol-stream) return a
>> list rather than a process object?  Then, in the absence of this
>> parameter, only a process object would be returned.
> Sounds good.

OK, I have changed open-protocol-stream accordingly.  I have also made a
few more changes:

 - TZZ's suggestion to make the list return value (PROC . PLIST)
   for extensibility.

 - Instead of returning nil on connection errors, it returns the killed
   process, like open-network-stream.

 - Renamed `network' to the more explicit `try-starttls'.
   Renamed `network-only' to `default'.

 - Changed the default connection type to `default' (no encryption), so
   that open-protocol-stream with no arguments will be equivalent to

I have changed the Gnus callers to accomodate these changes, including
making the connection type `try-starttls' by default.  NNTP and NNIMAP
seem to work the same as before, but let me know if anything breaks for

The next step is to merge proto-steam.el into open-network-stream in the
Emacs trunk.  The present revisison of proto-stream.el (103758) can
probably be used for the stand-alone Gnus.

reply via email to

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