[Haskell-cafe] HTTP package: connection closing bug?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Aug 21 22:15:48 EDT 2008


On Thu, 2008-08-21 at 19:12 -0400, Arjun Guha wrote:
> > Aha, I knew I wasn't dreaming!
> >
> > <http://mult.ifario.us/p/a-short-adventure-with-simplehttp>
> >
> > Paul Brown posted this discussion back in February. It looks like the
> > same thing. Has there been an update of HTTP since then?
> 
> Nope, it hasn't been updated.  I'm just running a locally patched  
> version.  This is the same issue, thanks!

If someone could figure out the right fix and send it to the maintainer
that'd be great. We do need a decent working pure-haskell http package.
For one thing cabal-install uses the HTTP package and it has to work for
downloading dozens or hundreds of packages in a single session.

As an aside, cabal-install could use the Network.Browser module better,
by using a single call to browse for all downloads rather than one per
download. As I understand it, that'd allow it to re-use a single
connection.

Duncan



More information about the Haskell-Cafe mailing list