Fix bug in base64 bios during write an non blocking I/O:
if the write fails when flushing the buffer return the value to the application so it can retry.
This commit is contained in:
parent
fbbfd86b67
commit
5672e3a321
@ -484,10 +484,7 @@ again:
|
||||
{
|
||||
i=b64_write(b,NULL,0);
|
||||
if (i < 0)
|
||||
{
|
||||
ret=i;
|
||||
break;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
if (BIO_get_flags(b) & BIO_FLAGS_BASE64_NO_NL)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user