projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
State reestablised when shell restarts. History of previous
[egate.git]
/
www
/
wsh.c
diff --git
a/www/wsh.c
b/www/wsh.c
index
20213df
..
c6093f4
100644
(file)
--- a/
www/wsh.c
+++ b/
www/wsh.c
@@
-41,7
+41,11
@@
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Log: wsh.c,v $
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Log: wsh.c,v $
- * Revision 1.6 1995/11/06 10:51:19 adam
+ * Revision 1.7 1995/11/06 17:44:23 adam
+ * State reestablised when shell restarts. History of previous
+ * result sets.
+ *
+ * Revision 1.6 1995/11/06 10:51:19 adam
* End of response marker in response from wsh/wproto to wcgi.
* Shells are respawned when necessary.
*
* End of response marker in response from wsh/wproto to wcgi.
* Shells are respawned when necessary.
*
@@
-75,7
+79,7
@@
#include "wtcl.h"
#include "wirtcl.h"
#include "wtcl.h"
#include "wirtcl.h"
-#define TIMEOUT_SHORT 120
+#define TIMEOUT_SHORT 60
#define TIMEOUT_MEDIUM 1800
#define TIMEOUT_LONG 7200
#define TIMEOUT_MEDIUM 1800
#define TIMEOUT_LONG 7200
@@
-112,6
+116,7
@@
int main (int argc, char **argv)
*argv);
exit (1);
}
*argv);
exit (1);
}
+ w_interp_load_state (w_interp, NULL);
while (wproto_process(wcl, timeout) > 0)
{
char *p;
while (wproto_process(wcl, timeout) > 0)
{
char *p;
@@
-162,6
+167,7
@@
int main (int argc, char **argv)
}
wo_finish(wcl);
}
}
wo_finish(wcl);
}
+ w_interp_save_state (w_interp, NULL);
wproto_terminate(wcl);
return 0;
}
wproto_terminate(wcl);
return 0;
}