$ret = FALSE;
$curtime = time();
- /* if ((($curtime - $this->lacc) > STREAM_TIMEOUT) || Room::garbage_time_is_expired($curtime)) { */
- /* $S_load_stat['lL_laccgarb']++; */
-
- /* if (($curtime - $this->lacc) >= STREAM_TIMEOUT) { */
- /* $S_load_stat['wU_lacc_upd']++; */
- /* $this->lacc = $curtime; */
- /* } */
-
- /* if (Room::garbage_time_is_expired($curtime)) { */
- /* log_only("F"); */
-
- /* $S_load_stat['wR_garbage']++; */
- /* log_main("pre garbage_manager TRE"); */
- /* $this->room->garbage_manager(FALSE); */
- /* } */
- /* } */
-
/* Nothing changed, return. */
if ($cur_step == $this->step)
return (FALSE);
$S_load_stat['wR_minusone']++;
if ($this->the_end == TRUE) {
- log_rd2("main_check: the end".var_export(debug_backtrace()));
+ // log_rd2("main_check: the end".var_export(debug_backtrace()));
$is_page_streaming = TRUE;
}
function stream_keepalive($with_ping)
{
- return (sprintf("<script id='hs%d' type='text/javascript'><!--
+ $ret = (sprintf("<script id='hs%d' type='text/javascript'><!--
push(%s);
// -->
</script>", $this->rd_scristp++, ($with_ping ? "\"act_ping();\"" : "null")));
-
+
+ return ($ret);
}
static function base_get()