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

Daniel McAllansmith dm.maillists at gmail.com
Thu Aug 21 20:04:30 EDT 2008


On Fri, 22 Aug 2008 11:12:08 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!

Beware of the browse function in Browser, there is a connection leak in there 
as well, at least there was back in March or April.  Not sure if it has been 
fixed in the official repos.

I seem to recall the sockets getting put into some half-closed state, 
presumably when GHC GC'd them, eventually exhausting limits.  That may be 
particular to running on Linux, I guess.

Dan



More information about the Haskell-Cafe mailing list