[Haskell-cafe] HTTP package freezes on Windows 7

Phil phil.beadling at googlemail.com
Mon Mar 15 19:45:37 EDT 2010


I'm using GHC 6.12.1 on Windows 7.  I've built the latest Network 
package using Haskell's MinGW and installed HTTP package on top of this.

The code below builds fine, but on execution it just sits there grabbing 
ever increasing amounts of memory.

It's a simplified call that I've got working fine in Linux.

Is this a known issue?  Anyone else had success using HTTP from Windows?



import qualified Network.HTTP as HTTP

main :: IO ()
   = do
     x <- HTTP.simpleHTTP(HTTP.getRequest 
     print x

More information about the Haskell-Cafe mailing list