[Haskell-cafe] hGetLine problem
k.schupke at imperial.ac.uk
Fri Dec 10 14:12:39 EST 2004
Hmm, I dont see why the main process would be affected... It should be able
to accept multiple connections in parallel.
Is it just hGetLine that causes the problem... what if you use hGetContents
instead? Does it still not work?
(I have a sever implemented - I tested it with "ab -n100 -c10" with no
Michael Walter wrote:
>I did that -- the main process doesn't die, anyway, it just seems to "hang".
>On Fri, 10 Dec 2004 16:27:05 GMT, MR K P SCHUPKE
><k.schupke at imperial.ac.uk> wrote:
>>>But if the forkIO'ed process terminates because of an exception, that
>>>shouldn't influence the main process, right?
>>Well, if its unix you might have to set sigPIPE to Ignore...
>>Otherwise, the main process should not die just because the child has...
More information about the Haskell-Cafe