From: Matteo Nastasi (mop) Date: Thu, 4 Oct 2012 06:03:13 +0000 (+0200) Subject: stream_ping functionalities added to stream_keepalive function X-Git-Tag: v4.0.0~44 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=b9ff6e8b0e1c6317d46b781ca35cfefaa2466b2d;p=brisk.git stream_ping functionalities added to stream_keepalive function --- diff --git a/web/Obj/sac-a-push.phh b/web/Obj/sac-a-push.phh index 70ae6bf..54929fa 100644 --- a/web/Obj/sac-a-push.phh +++ b/web/Obj/sac-a-push.phh @@ -403,6 +403,12 @@ class Sac_a_push { } } + /* + $response: raw stream data not sent + $content: html consistent data (", $this->rd_scristp++)); +", $this->rd_scristp++, ($with_ping ? "\"act_ping();\"" : "null"))); } -function stream_ping() +static function base_get() { - return (sprintf("", $this->rd_scristp++)); - + $c = get_called_class(); + printf("CALLED_CLASS: [%s]\n", $c); + return $c::BASE; } - static function base_get() - { - $c = get_called_class(); - printf("CALLED_CLASS: [%s]\n", $c); - return $c::BASE; - } - } // end class User