cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: trouble with SSL URL

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 9 Feb 2005 20:31:28 +0100 (CET)

On Wed, 9 Feb 2005, David Byron wrote:

> I'll see if I can find a good place to put this in the curl code.
> Anyone else wanna try too?

In order to try your findings, try simply doing this:

--- transfer.c 9 Feb 2005 13:06:40 -0000 1.268
+++ transfer.c 9 Feb 2005 19:31:59 -0000
@@ -1147,7 +1147,7 @@
            k->keepon &= ~KEEP_READ;
          }

- } while(0);
+ } while(SSL_pending(conn->ssl[FIRSTSOCKET].handle));

      } /* if( read from socket ) */

It is not a "nice" fix, but it could verify if it corrects the problem.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-02-09