haskell / haskell/HTTP

Uses closed connection from a proxy (e.g. squid2)

Open
#68 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
186
Forks
59
PR merge metrics
No merged PRs in 30d

Description

This is related to #14, which may have not been fixed properly. When using `cabal update` built with `HTTP-4000.2.17` and using a squid2 proxy, I get `cabal: does not exist`. A friend of mine did some debugging and found out:

> it seems that cabal does a GET http://hackage.haskell.org/packages/archive/00-index.tar.gz
> squid responds with a cache hit 301 and closes the connection.
> cabal tries to use pipelining and fails
> it doesn't try a new connection

It does not happen with squid3, or perl’s `HTTP::Proxy`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.