X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Fbriskin5.phh;h=30f33bbf84683f505e6f20b7903ed915585888ef;hb=43cab39ea58529cd2442c28f4157bb7efc97856f;hp=c5ad7cec580b09549e5045031bc2490d948f317b;hpb=22d0d66d55607bc8941922fc1bf4d818664abbc2;p=brisk.git diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index c5ad7ce..30f33bb 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -718,7 +718,37 @@ class Bin5_user extends User { return ($ret); } - static function blocking_error($is_unrecoverable) +public static function stream_fini($is_unrecoverable) +{ + GLOBAL $G_four_rnd_string; + + printf("xXx user::stream_fini\n"); + + // IF IFRAME THEN: + $body = ""; + $body .= sprintf(" + + + + + +"); + $body .= sprintf("\n", $G_four_rnd_string); + $body .= sprintf("", 0, escpush(self::blocking_error($is_unrecoverable)) ); + // ELSE IF XHR THEN: + // return (self::blocking_error($is_unrecoverable)); + return ($body); +} + + + protected function blocking_error($is_unrecoverable) { GLOBAL $is_page_streaming; @@ -1429,6 +1459,8 @@ class Bin5 { if (($table_token = gpcs_var('table_token', $get, $post, $cookie)) === FALSE) unset($table_token); + force_no_cache($header_out); + switch ($path) { case "": case "index.php": @@ -1437,8 +1469,6 @@ class Bin5 { $content = ob_get_contents(); ob_end_clean(); - force_no_cache($header_out); - $s_a_p->pgflush_try_add($new_socket, 20, $header_out, $content); return TRUE; @@ -1450,8 +1480,6 @@ class Bin5 { $content = ob_get_contents(); ob_end_clean(); - force_no_cache($header_out); - $s_a_p->pgflush_try_add($new_socket, 20, $header_out, $content); return TRUE;