Skip to content
Snippets Groups Projects
Commit a43ad648 authored by Aleksandr Lysikov's avatar Aleksandr Lysikov
Browse files

update libdap-chain-net (add new commands)

parent 03b13ea2
No related branches found
No related tags found
No related merge requests found
Subproject commit 8469023d0df2ff9b52e29aa4c59f7de264a4a0ab Subproject commit ce893022ccb6bd0261371b6418c4ea45e4bec032
Subproject commit 40f3084cad78fa3f39263ab583937c1368839b2c Subproject commit 0f4b6b9344135e175b2753b3829c4b1c83101ad8
...@@ -98,7 +98,7 @@ connect_param* node_cli_connect(void) ...@@ -98,7 +98,7 @@ connect_param* node_cli_connect(void)
connect_param *param = DAP_NEW_Z(connect_param); connect_param *param = DAP_NEW_Z(connect_param);
CURL *curl_handle = curl_easy_init(); CURL *curl_handle = curl_easy_init();
int ret = curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, UNIX_SOCKET_FILE); // unix socket mode int ret = curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, UNIX_SOCKET_FILE); // unix socket mode
curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 20L); // complete within 20 seconds curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 60L); // complete within 60 seconds
ret = curl_easy_setopt(curl_handle, CURLOPT_CONNECT_ONLY, 1L); // connection only ret = curl_easy_setopt(curl_handle, CURLOPT_CONNECT_ONLY, 1L); // connection only
ret = curl_easy_setopt(curl_handle, CURLOPT_URL, "http:/localhost/connect"); ret = curl_easy_setopt(curl_handle, CURLOPT_URL, "http:/localhost/connect");
// execute request // execute request
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment