Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitry Puzyrkov
celllframe-node
Commits
a43ad648
Commit
a43ad648
authored
6 years ago
by
Aleksandr Lysikov
Browse files
Options
Downloads
Patches
Plain Diff
update libdap-chain-net (add new commands)
parent
03b13ea2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libdap-chain-net
+1
-1
1 addition, 1 deletion
libdap-chain-net
libdap-server
+1
-1
1 addition, 1 deletion
libdap-server
sources/main_node_cli_net.c
+1
-1
1 addition, 1 deletion
sources/main_node_cli_net.c
with
3 additions
and
3 deletions
libdap-chain-net
@
ce893022
Compare
8469023d
...
ce893022
Subproject commit
8469023d0df2ff9b52e29aa4c59f7de264a4a0ab
Subproject commit
ce893022ccb6bd0261371b6418c4ea45e4bec032
This diff is collapsed.
Click to expand it.
libdap-server
@
0f4b6b93
Compare
40f3084c
...
0f4b6b93
Subproject commit
4
0f
3084cad78fa3f39263ab583937c1368839b2c
Subproject commit 0f
4b6b9344135e175b2753b3829c4b1c83101ad8
This diff is collapsed.
Click to expand it.
sources/main_node_cli_net.c
+
1
−
1
View file @
a43ad648
...
@@ -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
,
2
0L
);
// complete within
2
0 seconds
curl_easy_setopt
(
curl_handle
,
CURLOPT_TIMEOUT
,
6
0L
);
// complete within
6
0 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment