--- googlecode.com/svn/trunk/public_html/meteor.js 2007/12/20 21:24:24 32 +++ googlecode.com/svn/trunk/public_html/meteor.js 2008/02/28 00:21:39 55 @@ -25,7 +25,7 @@ mode: "stream", pingtimeout: 20000, pingtimer: null, - pollfreq: 5000, + pollfreq: 3000, port: 80, polltimeout: 30000, recvtimes: [], @@ -36,6 +36,7 @@ ifr.p = Meteor.process; ifr.r = Meteor.reset; ifr.eof = Meteor.eof; + ifr.ch = Meteor.channelInfo; clearTimeout(Meteor.frameloadtimer); Meteor.setstatus(4); Meteor.log("Frame registered"); @@ -91,13 +92,12 @@ disconnect: function() { if (Meteor.status) { - if (typeof(Meteor.frameref)=="iframe") Meteor.frameref.setAttribute("src", "about:blank"); - Meteor.frameref = null; clearTimeout(Meteor.pingtimer); clearTimeout(Meteor.updatepollfreqtimer); clearTimeout(Meteor.frameloadtimer); if (typeof CollectGarbage == 'function') CollectGarbage(); - Meteor.setstatus(0); + if (Meteor.status != 6) Meteor.setstatus(0); + Meteor.log("Disconnected"); } }, @@ -122,36 +122,41 @@ surl += ".h"; } } + var now = new Date(); + surl += "?nc="+now.getTime(); return surl; }, loadFrame: function(url) { - Meteor.frameref = null; try { - var transferDoc = new ActiveXObject("htmlfile"); - transferDoc.open(); - transferDoc.write("