haskell / haskell/HTTP

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

Aperta
#68 13 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Haskell
Stelle
186
Fork
59
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.