X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fxynt-http-streaming.js;h=0cbf36b7852cca1a363707801e531af73120a1c9;hb=2a82f64f7c99c99b0c38fa2911ddfda0b6609ae7;hp=fa35007efbe1ffef8a5dbf5ac785ece32e6ed2c9;hpb=f7dc9ccf7ceef5b2fa796f713dc8851c6473f5e0;p=brisk.git diff --git a/web/xynt-http-streaming.js b/web/xynt-http-streaming.js index fa35007..0cbf36b 100644 --- a/web/xynt-http-streaming.js +++ b/web/xynt-http-streaming.js @@ -38,7 +38,8 @@ http_streaming.prototype = { keepalive_new: -1, keepalives_equal: 0, keepalives_eq_max: 6, - watchdog_timeout: 100, + /* NOTE: right watch_timeout value to 100, for devel reasons use 1000 or more */ + watchdog_timeout: 200, watchdog_ct: 0, watchdog_checktm: 20, watchable: false, @@ -68,6 +69,7 @@ http_streaming.prototype = { // this.log(this.ifra); this.ifra.contentWindow.location.href = this.page; + // this.ifra.src = this.page; this.watchdog_ct = 0; if (!this.the_end) { this.watchdog_hdl = setTimeout(function(obj) { obj.log("tout1"); obj.watchdog(); }, 0, this); @@ -91,7 +93,7 @@ http_streaming.prototype = { if (this.sandbox != null) { // from old: var zug = "POLL sess = "+sess+" stat = "+stat+" subst = "+subst+" step = "+this.gst.st+" step_loc = "+this.gst.st_loc+" step_loc_new = "+this.gst.st_loc_new+" STOP: "+this.stopped; - var zug = "WATCHDOG step = "+this.gst.st+" step_loc = "+this.gst.st_loc+" step_loc_new = "+this.gst.st_loc_new; + var zug = "WATCHDOG sess = ["+this.sess+"] step = "+this.gst.st+" step_loc = "+this.gst.st_loc+" step_loc_new = "+this.gst.st_loc_new; if (zug != this.sandbox.innerHTML) this.sandbox.innerHTML = zug; } @@ -272,4 +274,4 @@ http_streaming.prototype = { return (this.console.log(s)); } } -} \ No newline at end of file +}