darcs patch: Fallback onto simpleHTTP when Network.Browser fails

Stephen Hicks sdh33 at cornell.edu
Sat Oct 11 11:52:03 EDT 2008


Er, I forgot to --edit-description, nor did I provide a long
description.  Basically, I've seen a ton of complaints (and no
solutions) over the mailing list and IRC about this "recv: resource
vanished (Connection reset by peer)" error when attempting to 'cabal
update'.  I tracked it down to a bug in Network.Browser that causes it
to fail when behind a NAT-based router.  On the other hand,
Network.HTTP.simpleHTTP, while being less feature-rich, doesn't seem
to have a problem with NAT.  I've submitted a bug report to the
maintainer of Network.HTTP, but for the time being, I think it's also
prudent to include this simple (pun intended) workaround in cabal
install as well.

-steve

On Sat, Oct 11, 2008 at 11:48 AM, Stephen Hicks <sdh33 at cornell.edu> wrote:
> Sat Oct 11 11:45:25 EDT 2008  Stephen Hicks <sdh33 at cornell.edu>
>  * Fallback onto simpleHTTP when Network.Browser fails
>
> _______________________________________________
> cabal-devel mailing list
> cabal-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/cabal-devel
>
>



More information about the cabal-devel mailing list