gnutls-devel
[Top][All Lists]
Advanced

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

gnutls_record_check_pending() broken?


From: Peter Hendrickson
Subject: gnutls_record_check_pending() broken?
Date: 28 May 2009 16:02:47 -0000

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?

Peter




reply via email to

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