axtls: Add a TODO to a potential blocking call with no timeout
authorDan Fandrich <dan@coneharvesters.com>
Fri, 16 May 2014 21:27:07 +0000 (23:27 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 16 May 2014 21:27:07 +0000 (23:27 +0200)
lib/vtls/axtls.c

index d103326..7d041a2 100644 (file)
@@ -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");