vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[bml] r142: LJSUP-11148: revert changes

Committer: vad
LJSUP-11148: revert changes
U   trunk/lib/Apache/BML.pm
Modified: trunk/lib/Apache/BML.pm
===================================================================
--- trunk/lib/Apache/BML.pm	2012-02-06 08:27:04 UTC (rev 141)
+++ trunk/lib/Apache/BML.pm	2012-02-06 09:17:40 UTC (rev 142)
@@ -18,7 +18,6 @@
 
 use LJ::Request;
 use Digest::MD5;
-use Compress::Zlib;
 use File::Spec;
 
 BEGIN {
@@ -353,7 +352,7 @@
     if (exists $req->{'etag'}) {
         $etag = $req->{'etag'} if defined $req->{'etag'};
     } else {
-        $etag = Compress::Zlib::crc32($html);
+        $etag = Digest::MD5::md5_hex($html);
     }
     $etag = '"' . $etag . '"' if defined $etag;
 

Tags: bml, pm, vad, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments