]> granicus.if.org Git - curl/commitdiff
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 d10332629c7dbda469e975784897bccf72d7623a..7d041a2266996d912fe4bd52a2919a32c09eee0e 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");