close the connection prematurely.
err = SSL_get_error( p->ssl, ret );
if (err == SSL_ERROR_WANT_READ ) {
sbiod->sbiod_sb->sb_trans_needs_read = 1;
-#ifdef WIN32
errno = EWOULDBLOCK;
-#endif
}
else
sbiod->sbiod_sb->sb_trans_needs_read = 0;
err = SSL_get_error( p->ssl, ret );
if (err == SSL_ERROR_WANT_WRITE ) {
sbiod->sbiod_sb->sb_trans_needs_write = 1;
-#ifdef WIN32
errno = EWOULDBLOCK;
-#endif
}
else
sbiod->sbiod_sb->sb_trans_needs_write = 0;