Skip to content
Snippets Groups Projects
Commit 3a501eb9 authored by deuce's avatar deuce
Browse files

Set SSH timeout to 1 second.

Previous versions of Cryptlib defaulted to a zero second timeout... this
is no longer the case as it appears to be 15 seconds now.  Setting it to
zero makes it not work at all.
parent a11697ce
Branches
Tags
No related merge requests found
......@@ -264,6 +264,8 @@ int ssh_connect(struct bbslist *bbs)
/* Pass socket to cryptlib */
status=cl.SetAttribute(ssh_session, CRYPT_SESSINFO_SSH_HEIGHT, rows);
cl.SetAttribute(ssh_session, CRYPT_OPTION_NET_READTIMEOUT, 1);
/* Activate the session */
uifc.pop(NULL);
uifc.pop("Activating Session");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment