Hi,

these two lines:

+       if (!ret) gnutls_transport_set_errno (data->sess, EAGAIN);
+       if (ret == -1 || ret == 0) return (size_t) -1;

should not be added, as it will hide EOF conditions. Note that this
bug can be sidestepped by providing an ikstransport in which the
read function does an additional select(). Also note that even with
this workaround, there is another bug in libiksemel in that it does
not handle continuing the ssl handshake. (I'll post a bug upstream
to http://code.google.com/p/iksemel/).



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to