From 2e72300b0d571c2b319e0e5c827ddc45f011f964 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 27 May 2018 15:48:21 -0600 Subject: * 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. --- pith/conf.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pith/conf.h') 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), \ -- cgit v1.2.3-54-g00ecf