Menu

#1560 (in 2.6.1) Gzipping twice

2.6.1-rc1
invalid
1
2013-06-11
2005-01-02
Paul
No

[ line 519/586 (88%), col 13/53 (24%), char 19406/21735
(89%) ]

changed:
$dump_buffer = gzencode($dump_buffer);
to:
//$dump_buffer = gzencode($dump_buffer);

Is the server gzipping the $dump_buffer twice? I used
my hex editor to remove '15' additional bytes at the
header/beginning of the file it outputs, finding that,
afterwards, the gzip file was only then useful. Any
ideas why this is happening?

Paul

Discussion

  • Michal Čihař

    Michal Čihař - 2005-01-03

    Logged In: YES
    user_id=192186

    What webserver do you use and do you have enbaled gzip
    compression in it?

     
  • Michal Čihař

    Michal Čihař - 2005-01-03
    • summary: export.php --> Gzipping twice
     
  • Michal Čihař

    Michal Čihař - 2005-01-03
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2005-01-03

    Logged In: YES
    user_id=192186

    Can you try whether attached patch will solve your problem?

     
  • Michal Čihař

    Michal Čihař - 2005-01-03
     
  • Paul

    Paul - 2005-01-04

    Logged In: YES
    user_id=1188929

    Yes I believe Apache has that enabled.

     
  • Paul

    Paul - 2005-01-04

    Logged In: YES
    user_id=1188929

    Your patch worked, much thanks *tips hat*.

    PEACE!

     
  • Michal Čihař

    Michal Čihař - 2005-01-04
    • priority: 5 --> 1
    • summary: Gzipping twice --> (in 2.6.1) Gzipping twice
    • status: open --> open-fixed
     
  • Michal Čihař

    Michal Čihař - 2005-01-04

    Logged In: YES
    user_id=192186

    Thanks for testing.

     
  • Michal Čihař

    Michal Čihař - 2005-01-24
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> invalid