How do I get Cabal to bypass my Windows proxy settings?
Posted
by Brent.Longborough
on Stack Overflow
See other posts from Stack Overflow
or by Brent.Longborough
Published on 2009-10-11T16:14:51Z
Indexed on
2010/03/29
23:33 UTC
Read the original article
Hit count: 275
When retrieving packages with Cabal, I frequently get errors with this message:
user error (Codec.Compression.Zlib: premature end of compressed stream)
It looks like Cabal is using my Windows Networking proxy settings (for Privoxy).
From digging around Google, Cabal or its libraries appear to have (had) a problem in this area.
Possible solutions I can see are:
Turn off proxying while using Cabal (not very keen on this one); or
Get a patch and start hacking. I'm hesitant to go down this path, as I'm a complete Haskell noob and I'm not yet comfortable with Darcs; or
Give it the magic "can I haz no proxy" parameter. Hence the question.
© Stack Overflow or respective owner