Submitted by tony@bluetail.com.
Published in <sxslmezocyp.fsf@florida.arsdigita.de>.
+2002-01-15 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * gen_sslfunc.c (ssl_iread): Call select on the file descriptor
+ only if no data is pending in SSL buffers.
+ From tony@bluetail.com.
+
2002-01-14 Hrvoje Niksic <hniksic@arsdigita.com>
* headers.c (header_get): Strip trailing whitespace from the
do
{
#ifdef HAVE_SELECT
- if (opt.timeout)
+ if (opt.timeout && !SSL_pending (con))
{
-
do
{
res = select_fd (fd, opt.timeout, 0);