[darcs-users] No HTTP proxy support in Windows darcs
Trent W. Buck
twb at cybersource.com.au
Tue Sep 22 01:53:58 UTC 2009
Simon Marlow <marlowsd at gmail.com> writes:
> So the darcs we get on Windows these days is not built against
> libcurl, and hence apparently has no proxy support.
>
> darcs failed: Not a repository: http://darcs.haskell.org/ghc (Failed
> to download URL http://darcs.haskell.org/ghc/_darcs/inventory: No
> proxy support for HTTP package yet (try libcurl)!)
I rebuilt cabal-install recently (against HTTP-4000.0.6). After doing
so, it successfully uses $http_proxy. Previously it was TRYING to use
the proxy, but failing because it didn't include a Host field.
$ cabal update -v3
Downloading the latest package list from hackage.haskell.org
Sending:
GET http://hackage.haskell.org/packages/archive/00-index.tar.gz HTTP/1.1
User-Agent: cabal-install/0.6.2
Host: hackage.haskell.org
proxy uri host: localhost, port: :8080
Creating new connection to localhost:8080
[...]
Maybe HTTP only supports $http_proxy on GNU/Linux?
Maybe you need to use a newer HTTP?
More information about the darcs-users
mailing list