summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-05-16 23:27:07 +0200
committerDan Fandrich <dan@coneharvesters.com>2014-05-16 23:27:07 +0200
commitc9ea1d341ae824d9ac40b505138b31ebd60172a9 (patch)
tree1c528bb39bc246cc6613f62e76485d68d7028b3d
parent4550a00a3ea108fac5e536e7b570513e405a3698 (diff)
downloadcurl-c9ea1d341ae824d9ac40b505138b31ebd60172a9.tar.gz
axtls: Add a TODO to a potential blocking call with no timeout
-rw-r--r--lib/vtls/axtls.c1
1 files changed, 1 insertions, 0 deletions
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");