[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sr #107464] Secure Connections on AIX using non blocking socket
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [sr #107464] Secure Connections on AIX using non blocking socket |
Date: |
Thu, 26 Aug 2010 11:37:35 +0200 |
2010/8/26 Bjørn Christensen <address@hidden>:
> I have tried to remove the hack I have put into the _gnutls_read and added
> gnutls_transport_set_lowat() to zero.
> That does not solve the problem, recv still return -1 with no errno set and
> that still causes _gnutls_read to assert.
> I can not set in which context it would be ok to return -1 from recv and not
> set the errno.
A call might return -1 and no errno, but this should be treated as
fatal error and not as EINTR or EAGAIN. That's why we cannot add such
a hack to main code. You'd better keep the hack then and file a bug
report on AIX.
regards,
Nikos