emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs core TLS support


From: Ted Zlatanov
Subject: Re: Emacs core TLS support
Date: Tue, 14 Sep 2010 20:25:06 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

On Tue, 14 Sep 2010 20:55:51 +0200 Nikos Mavrogiannopoulos <address@hidden> 
wrote: 

NM> On 09/14/2010 08:30 PM, Ted Zlatanov wrote:

>> The simple client code is implemented in my current patch.  Without
>> verifying anything I keep getting GNUTLS_E_AGAIN when I try to handshake
>> against an SSL server.  See gnutls-boot, the control flow is really
>> simple and I think correct.  What am I missing?

NM> GNUTLS_E_AGAIN is returned only if the transport layer function
NM> (recv/send) return -1 and EAGAIN. Usually this is normal behavior and is
NM> enough to loop around them. Do you use non-blocking IO?

The I/O is on the underlying process file descriptors, which in our case
are network sockets.  I'm not actually sure of all the setup done on
those sockets because Emacs' process.c is a bit of a labyrinth, but
Simon Josefsson's original patch just used them directly and it worked
for him.

Ted




reply via email to

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