[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnutls_record_check_pending() broken?
From: |
Peter Hendrickson |
Subject: |
Re: gnutls_record_check_pending() broken? |
Date: |
28 May 2009 17:56:32 -0000 |
Simon writes:
> Simon Josefsson <address@hidden> writes:
> > Peter Hendrickson <address@hidden> writes:
> >
> >> gnutls_record_check_pending() doesn't work for me. It always returns
> >> 0, even when data is pending.
> >
> > How did you test this? A small code demonstrating the problem would
> > help. I'll see if I can get something to work too...
>
> Indeed, the patch below against mini.c demonstrate it working. For me
> it prints:
It prints for me, too.
What happens if you put the record_check_pending() call before you do
the gnutls_record_recv()? For me, it reports no bytes pending, even
if I do a sleep(10).
Peter