mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverControler


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverControlers.ml
Date: Thu, 06 Oct 2005 06:21:18 -0400

Index: mldonkey/src/daemon/driver/driverControlers.ml
diff -u mldonkey/src/daemon/driver/driverControlers.ml:1.46 
mldonkey/src/daemon/driver/driverControlers.ml:1.47
--- mldonkey/src/daemon/driver/driverControlers.ml:1.46 Wed Sep 21 18:10:06 2005
+++ mldonkey/src/daemon/driver/driverControlers.ml      Thu Oct  6 10:21:07 2005
@@ -802,7 +802,7 @@
   add_reply_header r "Connection" "close"
 
 let add_gzip_headers r =
-  if Autoconf.has_zlib && !!html_use_gzip then begin
+  if !!html_use_gzip then begin
     add_reply_header r "Content-Encoding" "gzip";
     add_reply_header r "Vary" "Accept-Encoding";
   end
@@ -1432,7 +1432,7 @@
     | BIN -> Buffer.contents buf
     | UNK -> "Unknown type for content :" ^ (Buffer.contents buf)
   in
-  r.reply_content <- if Autoconf.has_zlib && !!html_use_gzip then 
Autoconf.zlib__gzip_string s else s
+  r.reply_content <- if !!html_use_gzip then Autoconf.zlib__gzip_string s else 
s
 
 let http_options = {
     conn_buf = Buffer.create 10000;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]