emacs-devel
[Top][All Lists]
Advanced

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

Re: Non-optimal error message received when the peer closes connection


From: Ted Zlatanov
Subject: Re: Non-optimal error message received when the peer closes connection
Date: Wed, 15 Jun 2011 22:54:49 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Thu, 09 Jun 2011 19:53:25 +0200 Lars Magne Ingebrigtsen <address@hidden> 
wrote: 

LMI> Ted Zlatanov <address@hidden> writes:

>> That would remedy the error message and let GnuTLS clean up properly.
>> But I don't see a place in Emacs to handle the end of a process
>> connection, unfortunately.  Am I missing something obvious?

LMI> It must be handled somewhere, because there's something that outputs
LMI> "connection closed" (or what it was) into the buffer when it happens.

There are at *least* 4 places in process.c that handle various kinds of
connection shutdown.  I see no single place to do what you need: call
the GnuTLS shutdown functions when the connection is closed.

Ted




reply via email to

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