aboutsummaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-03-01 21:59:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2010-03-01 21:59:07 +0000
commit496002ea1cd76af7fff27166e8a310ed64a434ba (patch)
tree21e5a5c8d219cfe0ac45cf7d98932eaaf0c39ebc /lib/ssluse.c
parent1a1ffb10d00826d158e47d65fc3950c095c1a9ad (diff)
- 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
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
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. */