diff options
author | runge <runge> | 2006-08-02 16:18:23 +0000 |
---|---|---|
committer | runge <runge> | 2006-08-02 16:18:23 +0000 |
commit | 268359a66e684d738e1526df2d38a83fa6781092 (patch) | |
tree | 9bbe5c69bf5f5ad61b62b796714b1824977b65ad /x11vnc/remote.c | |
parent | 34c62cfd79c6dbb3d7c87ebcf358ad6f42bdb31e (diff) | |
download | libtdevnc-268359a6.tar.gz libtdevnc-268359a6.zip |
x11vnc: tweaks to ssl_xfer; -ssltimeout option.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r-- | x11vnc/remote.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 24815a8..f764192 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -3136,6 +3136,19 @@ char *process_remote_cmd(char *cmd, int stringonly) { p += strlen("client_input:"); set_client_input(p); + } else if (strstr(p, "ssltimeout") == p) { + int is; + COLON_CHECK("ssltimeout:") + if (query) { + snprintf(buf, bufn, "ans=%s%s%d", p, co, + ssl_timeout_secs); + goto qry; + } + p += strlen("ssltimeout:"); + is = atoi(p); + rfbLog("remote_cmd: setting ssltimeout: %d\n", is); + ssl_timeout_secs = is; + } else if (strstr(p, "speeds") == p) { COLON_CHECK("speeds:") if (query) { |