if (FD_ISSET (tls_fd, &readfds))
#endif
{
+readtop:
if (tls_conn)
nbuffer = SSL_read (tls_conn, buffer, sizeof buffer -1);
else
wrote = write (out, retry, nbuffer);
if (wrote < 0) goto finish;
}
+ if (tls_conn && SSL_pending(tls_conn))
+ goto readtop;
}
}