Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nxssh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Алексей Аляев
nxssh
Commits
6bce013b
Commit
6bce013b
authored
Nov 08, 2016
by
Stas Korobeynikov
Committed by
Pavel Vainerman
Oct 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add nx_switch_internal check
parent
09caa3bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
clientloop.c
clientloop.c
+13
-0
No files found.
clientloop.c
View file @
6bce013b
...
...
@@ -625,6 +625,19 @@ client_global_request_reply(int type, u_int32_t seq, void *ctxt)
static
void
server_alive_check
(
void
)
{
if
(
nx_switch_internal
==
1
)
{
/*
* We let NX handle the connection timeout.
*/
#ifdef TEST
debug
(
"NX> 282 Skipping the server alive check"
);
#endif
return
;
}
if
(
packet_inc_alive_timeouts
()
>
options
.
server_alive_count_max
)
{
logit
(
"Timeout, server %s not responding."
,
host
);
cleanup_exit
(
255
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment