<?xml version="1.0"?>
-<Opengate ConfigVersion="1.4.16">
+<Opengate ConfigVersion="1.4.11">
<!-- #################################################
# ####### NEED TO MODIFY FOLLOWING PARAMETERS ##### -->
</ListenPort>
<!-- communication reply timeout(second) -->
- <CommWaitTimeout>30</CommWaitTimeout>
+ <CommWaitTimeout>10</CommWaitTimeout>
<!-- Java connection timeout(second) -->
<JavaWaitTimeout>600</JavaWaitTimeout>
<!-- http reconnect timeout(second) -->
- <ReconnectTimeout>30</ReconnectTimeout>
+ <ReconnectTimeout>10</ReconnectTimeout>
<!-- ipfw exclusive exec lock timeout (second) -->
<LockTimeout>10</LockTimeout>
Fix bug at dumping micro-second time information. \r
</DD>\r
<DT>\r
-Ver.1.4.16 at 2007.4.15</DT>\r
+Ver.1.4.16 at 2007.4.16</DT>\r
<DD>\r
Fix bug for delayed favicon.ico request occured on Vista PC and others.\r
</DD>\r
+<DT>\r
+Ver.1.4.17 at 2007.4.17</DT>\r
+<DD>\r
+Refine the bug fix of favicon.ico error.\r
+</DD>\r
\r
</DL>\r
<b>Please see CVS in SourceForge.net to check the file difference between versions.</b>\r
<html>
<head>
+<link rel="shortcut icon" href="http://%%OPENGATESERVERNAME%%/favicon.ico" type="image/x-icon">
+<link rel="icon" href="http://%%OPENGATESERVERNAME%%/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<title>Http Keep-Alive</title>
var nextKey;
var nowKey;
var sessionId;
-var initial;
function createXMLHttpRequest() {
try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) {}
hh=today.getHours(); mm=today.getMinutes();
if(hh<10)hh='0'+hh; if(mm<10)mm='0'+mm;
document.getElementById("dispmsg").innerHTML = hh+':'+mm;
- if(httpObj.responseText=="hello"){
- if(initial==1){
- setTimeout('sendHello()',10000);
- initial=0;
- }else{
- sendHello();
- }
- }
+ if(httpObj.responseText=="hello") sendHello();
}else{
document.getElementById("dispmsg").innerHTML = "Error!";
}
sessionId=sid;
rand=Math.random();
nextKey=hex_md5(String(rand));
- initial=1;
- // send hello
+ // set timeout and send hello
sendHello();
}
//-->
<html>
<head>
+<link rel="shortcut icon" href="http://%%OPENGATESERVERNAME%%/favicon.ico" type="image/x-icon">
+<link rel="icon" href="http://%%OPENGATESERVERNAME%%/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html;charset=iso-2022-jp">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<title>Http Keep-Alive</title>
#include "opengatesrv.h"
#include "../ezxml/ezxml.h"
-#define CONFIG_VERSION "1.4.16"
+#define CONFIG_VERSION "1.4.11"
#define SEPARATOR "/"
int debug=0;
}
/* null terminate string */
*ptr++ = 0;
-
return(n);
}
SendHttpNotFound();
}
}
-
else{
/*abnormal read */
/* some alarm is ringed or connecion is closed */
{
char buff[BUFFMAXLN]; /* read in buffer */
FILE *fp;
+ char opengateServerName[BUFFMAXLN];
char httpKeepDoc[BUFFMAXLN];
char httpHelloUrl[BUFFMAXLN];
char terminateUrl[BUFFMAXLN];
char portStr[WORDMAXLN];
+ /* create opengate server name string */
+ snprintf(opengateServerName, BUFFMAXLN,
+ "%s",GetConfValue("OpengateServerName"));
+
/* create path to accept2 doc */
snprintf(acceptDoc2Url, BUFFMAXLN,
"http://%s%s/%s/%s",GetConfValue("OpengateServerName"),
}
/* replace mark */
+ htmlReplace(buff, "%%OPENGATESERVERNAME%%", opengateServerName);
htmlReplace(buff, "%%HTTPHELLOURL%%", httpHelloUrl);
htmlReplace(buff, "%%USERID%%", userid);
htmlReplace(buff, "%%SESSIONID%%", sessionId);
}
-
void SendHttpNotFound(void){
if(debug>1) err_msg("DEBUG:=>sendHttpNotFound()");
sendHttpNotFound();
if(debug>1) err_msg("DEBUG:<=sendHttpNotFound()");
}
+
+