BIO_wpending
used_len = BIO_wpending(s->wbio) + overhead;
|| BIO_wpending(s->wbio) <= (int)s->d1->mtu);