> Read:  You can now efficiently have your outgoing PHP/HTTP traffic 
> compressed with good compression ratios without sacrificing memory.
> 
> Comments extremely welcome - and if people can also test it and let me 
> know whether it works for them, it'd be great.

Taking your example...
 >>ob_start("ob_gzhandler", 64)            10KB
and if I got this right, The output handler should be called 10 times 
for 640kB file right? If this was the case the following script was 
supposed to end in
(100000*50(total output) / 128 (buffer size) ) * 3 (seconds for sleep)

This is not the case!!! (at least on win32 again)

$x=str_repeat('t',99996).'<BR>';
function strlens($string)    {
     //return str_replace("\n",'<br>',$string);
     sleep(3);
     return $string;
      }

ob_start('strlens',128);
echo str_repeat($x,50);
ob_end_flush();


I tried to find some code to test if I get the stuff chunked or not, I 
do know other way, is there any?

andré




-- 
· André Langhorst        t: +49 331 5811560 ·
· [EMAIL PROTECTED]          m: +49 173 9558736 ·
* PHP Quality Assurance  http://qa.php.net  *


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to