From e99139fdbadb00c380161cf8d93cce68a83a1e41 Mon Sep 17 00:00:00 2001 From: watanaby <> Date: Fri, 20 Oct 2006 00:56:25 +0000 Subject: [PATCH] Ver.1.4.3: Move JavaScript code from html-file to external js-file. --- opengate/README | 1 + opengate/conf/opengatesrv.conf.sample | 13 ++++-- opengate/doc/Changes.html | 5 ++ opengate/javahtml/en/httpkeep.html | 83 ++++----------------------------- opengate/javahtml/httpkeep.js | 66 ++++++++++++++++++++++++++ opengate/javahtml/ja/httpkeep.html | 87 +++++------------------------------ opengate/opengatesrv/get-param.c | 2 +- opengate/opengatesrv/watch-client.c | 9 +++- 8 files changed, 109 insertions(+), 157 deletions(-) create mode 100644 opengate/javahtml/httpkeep.js diff --git a/opengate/README b/opengate/README index 2aff8a0..ae2fb1b 100644 --- a/opengate/README +++ b/opengate/README @@ -52,6 +52,7 @@ javahtml/ Client Java Applet and HTML files Opengate.java Java Applet source file OpengateClient.class Java Applet sub executable file index.html.var Document selector placed in DocumentRoot + httpkeep.js JavaScript code for http keep-alive en/ & ja/ HTML files for each language accept-java.html Accept message page for java mode diff --git a/opengate/conf/opengatesrv.conf.sample b/opengate/conf/opengatesrv.conf.sample index 8409530..916e996 100644 --- a/opengate/conf/opengatesrv.conf.sample +++ b/opengate/conf/opengatesrv.conf.sample @@ -1,5 +1,5 @@ - + @@ -30,7 +30,7 @@ 0 - Java + Http @@ -54,9 +54,9 @@ 5400 - + - 50000 + 50 @@ -86,7 +86,7 @@ /cgi-bin /opengate - + deny.html deny-ssl.html accept-http.html @@ -104,6 +104,9 @@ opengatefwd.cgi opengatesrv.cgi + + httpkeep.js + http://www.google.com/ diff --git a/opengate/doc/Changes.html b/opengate/doc/Changes.html index cee202e..efb380a 100644 --- a/opengate/doc/Changes.html +++ b/opengate/doc/Changes.html @@ -493,6 +493,11 @@ Ver.1.4.2 at 2006.10.19
Ingore Http watch mode on HTTP/1.0 browser.
+
+Ver.1.4.3 at 2006.10.20
+
+Move JavaScript from html-file to external js-file. Modify some message. +
Please see CVS in SourceForge.net to check the file difference between versions. diff --git a/opengate/javahtml/en/httpkeep.html b/opengate/javahtml/en/httpkeep.html index 1d49fe8..d347ab8 100644 --- a/opengate/javahtml/en/httpkeep.html +++ b/opengate/javahtml/en/httpkeep.html @@ -3,78 +3,12 @@ Http Keep-Alive - + -