HTTrack Website Copier
Free software offline browser - FORUM
Subject: gzip flag in summary not working (+proposed patch)
Author: Peter
Date: 10/01/2012 22:52
 
Hello,

it appears the summary in hts-cache/new.txt does not display the Z (for gZip)
flag correctly, i.e. it never displays it, even though files are reported to
be downloaded via gzip.

From what I understand this is because the compressed flag is set to 0 after
compression in htsback.c, and it seems like the diff below fixes the problem:


--- htsback.c.original  2012-10-01 22:46:13.450145836 +0200
+++ htsback.c.new       2012-10-01 22:46:35.982145915 +0200
@@ -560,7 +560,6 @@
                                                // unflag
                                        }
                                }
-                               back[p].r.compressed=0;
 #endif
 
                                /* Write mode to disk */
 
Reply


All articles

Subject Author Date
gzip flag in summary not working (+proposed patch)

10/01/2012 22:52
Re: gzip flag in summary not working (+proposed patch)

10/03/2012 22:21




6

Created with FORUM 2.0.11