summaryrefslogtreecommitdiff
path: root/pith/conf.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-05-27 15:48:21 -0600
committerEduardo Chappa <chappa@washington.edu>2018-05-27 15:48:21 -0600
commit2e72300b0d571c2b319e0e5c827ddc45f011f964 (patch)
tree1ab904e5965602e4565497dd51bc3af2a46681da /pith/conf.h
parentae67ebf820817f01e77471b5bc7da9885b159bba (diff)
downloadalpine-2e72300b0d571c2b319e0e5c827ddc45f011f964.tar.xz
* Add new variable close-connection-timeout, which tells Alpine to close
a connection that is having problems being kept alive after the number of seconds configured in this variable, if the connection has not recovered. The default is 0, which means to keep the connection alive and wait for the connection to recover.
Diffstat (limited to 'pith/conf.h')
-rw-r--r--pith/conf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pith/conf.h b/pith/conf.h
index 144b7059..7648e355 100644
--- a/pith/conf.h
+++ b/pith/conf.h
@@ -310,6 +310,7 @@
#define VAR_TCPREADWARNTIMEO vars[V_TCPREADWARNTIMEO].current_val.p
#define VAR_TCPWRITEWARNTIMEO vars[V_TCPWRITEWARNTIMEO].current_val.p
#define VAR_TCPQUERYTIMEO vars[V_TCPQUERYTIMEO].current_val.p
+#define VAR_QUITQUERYTIMEO vars[V_QUITQUERYTIMEO].current_val.p
#define VAR_RSHOPENTIMEO vars[V_RSHOPENTIMEO].current_val.p
#define VAR_RSHPATH vars[V_RSHPATH].current_val.p
#define VAR_RSHCMD vars[V_RSHCMD].current_val.p
@@ -751,6 +752,10 @@
&(n), 5, 30000, 0, (e), \
(el), \
"Tcp-Query-Timeout")
+#define SVAR_QUIT_QUERY_TIMEO(ps,n,e,el) strtoval((ps)->VAR_QUITQUERYTIMEO, \
+ &(n), 0, 30000, 0, (e), \
+ (el), \
+ "Reopen-Folder-Timeout")
#define SVAR_RSH_OPEN(ps,n,e,el) strtoval((ps)->VAR_RSHOPENTIMEO, \
&(n), 5, 30000, 0, (e), \
(el), \