From 496002ea1cd76af7fff27166e8a310ed64a434ba Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 1 Mar 2010 21:59:07 +0000 Subject: - Wesley Miaw reported bug #2958179 which identified a case of looping during OpenSSL based SSL handshaking even though the multi interface was used and there was no good reason for it. http://curl.haxx.se/bug/view.cgi?id=2958179 --- lib/ssluse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ssluse.c b/lib/ssluse.c index 99cf3c3b1..a1b760e08 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -2423,7 +2423,7 @@ ossl_connect_common(struct connectdata *conn, } retcode = ossl_connect_step2(conn, sockindex); - if(retcode) + if(retcode || (data->state.used_interface == Curl_if_multi)) return retcode; } /* repeat step2 until all transactions are done. */ -- cgit v1.2.3