Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
16
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
cellframe
cellframe-sdk
Commits
88b06b4c
Commit
88b06b4c
authored
4 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[*] Fixed timeouts
parent
ebe68906
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
dap-sdk/net/client/dap_client_http.c
+6
-3
6 additions, 3 deletions
dap-sdk/net/client/dap_client_http.c
with
7 additions
and
4 deletions
CMakeLists.txt
+
1
−
1
View file @
88b06b4c
...
@@ -2,7 +2,7 @@ project(cellframe-sdk C)
...
@@ -2,7 +2,7 @@ project(cellframe-sdk C)
cmake_minimum_required
(
VERSION 2.8
)
cmake_minimum_required
(
VERSION 2.8
)
set
(
CMAKE_C_STANDARD 11
)
set
(
CMAKE_C_STANDARD 11
)
set
(
CELLFRAME_SDK_NATIVE_VERSION
"2.6-8
2
"
)
set
(
CELLFRAME_SDK_NATIVE_VERSION
"2.6-8
3
"
)
add_definitions
(
"-DCELLFRAME_SDK_VERSION=
\"
${
CELLFRAME_SDK_NATIVE_VERSION
}
\"
"
)
add_definitions
(
"-DCELLFRAME_SDK_VERSION=
\"
${
CELLFRAME_SDK_NATIVE_VERSION
}
\"
"
)
set
(
DAPSDK_MODULES
""
)
set
(
DAPSDK_MODULES
""
)
...
...
This diff is collapsed.
Click to expand it.
dap-sdk/net/client/dap_client_http.c
+
6
−
3
View file @
88b06b4c
...
@@ -110,9 +110,12 @@ static void s_timer_timeout_check(void * a_arg)
...
@@ -110,9 +110,12 @@ static void s_timer_timeout_check(void * a_arg)
{
{
dap_events_socket_t
*
l_es
=
(
dap_events_socket_t
*
)
a_arg
;
dap_events_socket_t
*
l_es
=
(
dap_events_socket_t
*
)
a_arg
;
assert
(
l_es
);
assert
(
l_es
);
dap_worker_t
*
l_worker
=
l_es
->
worker
;
// We're in own esocket context
dap_events_t
*
l_events
=
dap_events_get_default
();
if
(
!
l_worker
)
// Out of worker
assert
(
l_events
);
return
;
dap_worker_t
*
l_worker
=
(
dap_worker_t
*
)
pthread_getspecific
(
l_events
->
pth_key_worker
);;
// We're in own esocket context
assert
(
l_worker
);
if
(
dap_events_socket_check_unsafe
(
l_worker
,
l_es
)
){
if
(
dap_events_socket_check_unsafe
(
l_worker
,
l_es
)
){
dap_client_http_pvt_t
*
l_http_pvt
=
PVT
(
l_es
);
dap_client_http_pvt_t
*
l_http_pvt
=
PVT
(
l_es
);
log_it
(
L_WARNING
,
"Connection timeout for request http://%s:%u/%s, possible network problems or host is down"
,
log_it
(
L_WARNING
,
"Connection timeout for request http://%s:%u/%s, possible network problems or host is down"
,
...
...
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