[gnutls-help] Regression bug between 2.x and 3.2?
nmav at gnutls.org
Fri Jun 13 11:12:50 CEST 2014
On Thu, Jun 12, 2014 at 11:37 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C]
<lavr at ncbi.nlm.nih.gov> wrote:
> I am correcting my message to add the following. Formerly, short writes by the push callback
> were allowed to be followed by another try by GNUTLS. Current GNUTLS release stops the tries after
> seeing the first short write. This means the callback is no longer following the "send()"
> paradigm, i.e. the callback itself is expected to wait even though it has written
> some portion of the requested buffer (but not all of it). send() returns immediately
> once at least one byte has been sent (and any remaining portion would have caused the blocking).
Could you provide a gnutls trace (use GNUTLS_DEBUG_LEVEL=6 or more),
or better a reproducer for the issue? (e.g., you could base it on some
of the existing gnutls tests like mini-eagain.c)
More information about the Gnutls-help