[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs core TLS support
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Emacs core TLS support |
Date: |
Mon, 27 Sep 2010 16:40:09 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Lars Magne Ingebrigtsen <address@hidden> writes:
> If I return Qt when gnutls_handshake() returns zero, then I get the
> Gmail IMAP greeting, which I think it works.
>
> I'll clean it up and see whether that really fixed this...
I've checked in the changes, since it works a bit better now than
before. Previously, it would try to do the handshake in a loop after
completing it, and that obviously doesn't work.
With my patch, this returns an IMAP greeting:
(progn
(require 'gnutls)
(open-ssl-stream "tls" (current-buffer) "imap.gmail.com" "imaps"))
However, it then loops taking 100% CPU, since _gnutls_read() is being
called in an infloop since the socket in non-blocking, or something...
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: Emacs core TLS support, (continued)
- Re: Emacs core TLS support, Ted Zlatanov, 2010/09/15
- Re: Emacs core TLS support, Ted Zlatanov, 2010/09/14
- Message not available
- Re: Emacs core TLS support, Nikos Mavrogiannopoulos, 2010/09/15
- Re: Emacs core TLS support, Ted Zlatanov, 2010/09/15
- Re: Emacs core TLS support, Ted Zlatanov, 2010/09/26
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/26
- Re: Emacs core TLS support, James Cloos, 2010/09/26
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/27
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/27
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/27
- Re: Emacs core TLS support,
Lars Magne Ingebrigtsen <=
- Re: Emacs core TLS support, Ted Zlatanov, 2010/09/27
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/27
- Re: Emacs core TLS support, Bruce Stephens, 2010/09/27
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/27
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/27
- Re: Emacs core TLS support, Ted Zlatanov, 2010/09/27
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/27
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/27
- Re: Emacs core TLS support, Lars Magne Ingebrigtsen, 2010/09/27
- Re: Emacs core TLS support, Ted Zlatanov, 2010/09/27