pdh at wiredyne.com
Thu May 28 18:02:47 CEST 2009
gnutls_record_check_pending() doesn't work for me. It always returns
0, even when data is pending.
I've seen this behavior under Ubuntu 8.10 which has GnuTLS 2.4.1 as
well as under OpenBSD 4.4 running GnuTLS 2.7.11.
I followed the 2.7.11 version in the debugger and it quickly ends up
in gnutls_buffers.c:_gnutls_record_buffer_get_size(). That function
just returns the value kept in
session->internals.application_data_buffer.length -- and that value
seems to be consistently zero. I haven't figured out what is supposed
to be setting it.
I don't see a test for this function in the self checking code. Is
anybody else seeing it work?
More information about the Gnutls-devel