[PATCH] writev_emu: stop on the first incomplete write

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Jul 25 19:15:00 CEST 2011


On 07/25/2011 07:03 PM, Sjoerd Simons wrote:
> Hey,
> 
> See attached patch :). Our library got someone confused in some cases
> when the push function couldn't write out, we'd see call traces like
> this:
> 
> push (X bytes): return Y bytes (Y < X)
> push (Z bytes): return -EAGAIN
> push (X - Y bytes): abort!

Applied.

thank you,
Nikos




More information about the Gnutls-devel mailing list