1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

axtls: Add a TODO to a potential blocking call with no timeout

This commit is contained in:
Dan Fandrich 2014-05-16 23:27:07 +02:00
parent 4550a00a3e
commit c9ea1d341a

View File

@ -481,6 +481,7 @@ Curl_axtls_connect(struct connectdata *conn,
return map_error_to_curl(ssl_fcn_return); return map_error_to_curl(ssl_fcn_return);
} }
usleep(10000); usleep(10000);
/* TODO: check for timeout here as this could hang indefinitely otherwise */
} }
infof (conn->data, "handshake completed successfully\n"); infof (conn->data, "handshake completed successfully\n");