From c9ea1d341ae824d9ac40b505138b31ebd60172a9 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 16 May 2014 23:27:07 +0200 Subject: axtls: Add a TODO to a potential blocking call with no timeout --- lib/vtls/axtls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vtls/axtls.c b/lib/vtls/axtls.c index d10332629..7d041a226 100644 --- a/lib/vtls/axtls.c +++ b/lib/vtls/axtls.c @@ -481,6 +481,7 @@ Curl_axtls_connect(struct connectdata *conn, return map_error_to_curl(ssl_fcn_return); } usleep(10000); + /* TODO: check for timeout here as this could hang indefinitely otherwise */ } infof (conn->data, "handshake completed successfully\n"); -- cgit v1.2.1