[Hackage] #686: cabal install - Codec.Compression.Zlib: incorrect header check

Hackage cvs-ghc at haskell.org
Wed Oct 20 06:21:45 EDT 2010


#686: cabal install - Codec.Compression.Zlib: incorrect header check
---------------------------------+------------------------------------------
  Reporter:  Monsikos            |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  high                |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.8.0.2
  Severity:  major               |     Keywords:  Zlib   
Difficulty:  normal              |   Ghcversion:  6.12.1 
  Platform:                      |  
---------------------------------+------------------------------------------
Changes (by finlay):

 * cc: finlay@… (added)
  * difficulty:  unknown => normal
  * priority:  normal => high
  * severity:  normal => major
  * platform:  Windows =>


Comment:

 After exploring this a bit more I have discovered that it is caused by
 secret ISP http proxy.

 There is a header:    Content-Encoding: x-gzip
 that gets causes the file to be gunzipped before it gets to my computer.
 There are solutions:
  1) patch cabal-install to not fail on files it expects to be gzipped but
 have been unzipped. I'll see if I can make a patch to do that.
  2) make my ISP not proxy the http traffic (not very easy to do).
  3) Remove the Content-Encoding: x-gzip header.

 I have bumped the severity because this error stops me from using cabal, a
 basic part of the batteries included platform.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/686#comment:4>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list