cabal-install: Replacing HTTP with HTTPS

Herbert Valerio Riedel hvr at gnu.org
Wed Apr 2 10:22:47 UTC 2014


On 2014-04-01 at 22:43:47 +0200, Nikita Karetnikov wrote:
> Turns out cabal-install itself uses HTTP.  (Try to grep for “hackage” in
> the source tree.)  Is it due to the HTTP library, which doesn’t support
> HTTPS (4000.2.12 returns “user error (https not supported)”)?
>
> Is there any interest in changing the current state of things?  And if
> so, what is the best way to do it?  Would you like to switch to a
> different library?

The main problem is, that cabal-install tries to rely only on
HP packages; so for now HTTP is the only HTTP-library included
in the HP, maybe a good place to start would be

  https://github.com/haskell/HTTP/issues/17

HTH,
  hvr


More information about the cabal-devel mailing list