Ticket #991 (assigned enhancement)

Opened 7 years ago

Last modified 9 months ago

gzip compression code should be in its own task

Reported by: bubulemag Assigned to: demian (accepted)
Priority: normal Milestone:
Component: SGL - Tasks Severity: open
Keywords: Cc:

Description

@ini_set('zlib.output_compression', (int)$this->confsite?compression?);

does not work with php 4.3.11 when php.ini says output_compression is Off. It only works to disable compression when php.ini says output_compression is On.

I tried to change SGL_Process_Init : // start output buffering

if ($this->confsite?outputBuffering?) {

if ($this->confsite?compression?) {

ob_start('ob_gzhandler');

} else {

ob_start();

}

}

But it doesn't work either : I only get a blank page.

If someone has a idea...

Change History

06/22/06 18:54:01 changed by demian

  • owner changed from somebody to tmpvar.

08/13/06 17:41:33 changed by demian

  • milestone deleted.

02/13/08 20:22:14 changed by tmpvar

  • owner deleted.

02/17/08 06:06:01 changed by demian

  • status changed from new to assigned.
  • severity changed from major to open.
  • summary changed from Compression doesn't work in PHP 4.3.11 to gzip compression code should be in its own task.
  • milestone set to 0.9.0 - polishing.
  • owner set to demian.
  • type changed from defect to enhancement.

it's currently in SGL_Task_BuildHeaders

02/26/13 13:17:20 changed by demian

  • milestone deleted.