[Top][All Lists]

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

Re: gnutls error handling

From: Lars Magne Ingebrigtsen
Subject: Re: gnutls error handling
Date: Sun, 17 Oct 2010 20:50:05 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Does Emacs try to read from this fd (18 in this case)?  Because AFAIU,
> a read from such a socket should return zero bytes, which could be
> used as a sign that we need to close the file descriptor.

Ah, right.  I've now changed the code in emacs_gnutls_read to do that on
most errors from the library, and using that, and I'll see whether I can
repeat the bug or not.

(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]