#4251: GHC hangs during Network.HTTP.simpleHTTP on Windows XP SP3, Windows 7
------------------------------------------+---------------------------------
  Reporter:  balta2ar                     |          Owner:  igloo           
      Type:  bug                          |         Status:  closed          
  Priority:  high                         |      Milestone:  6.14.1          
 Component:  libraries (other)            |        Version:  6.12.3          
Resolution:  invalid                      |       Keywords:  hang, simplehttp
  Testcase:                               |      Blockedby:                  
Difficulty:                               |             Os:  Windows         
  Blocking:                               |   Architecture:  x86             
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 I don't think this is a GHC bug. This seems to be what's happening:

 `readLineBS` calls `bufferReadLine` which, when it fails at EOF, calls
 `close`, `closeIt`, `closeConnection`, `suck`, `readL`, `readLineBS`.
 Loop.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4251#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to