On Thu, Dec 18, 2003 at 07:44:58PM +0100, George Russell wrote: > > (b) The server module only gets part of the data. In fact for me it comes > to a stop > with > [239][240][241][242][243Iterating > despite there being more data to come. (And despite the fact that the > client has > done hFlush). > > I don't know any way of working around (b), so I suspect that means > ghc6.2 is unusable for us. What a pity no development snapshot was > made for 6.2 shortly before its release, as it might have been > possible for me to discover this bug in time for it to be fixed in > 6.2. (I did try to test the 6.3 development snapshot but was > grounded by the instances bug I've reported elsewhere.)
It seems to work when I change hGetBuf to hGetBufNonBlocking. The name is a bit misleading - the action _does_ wait for some data, but it doesn't wait for all requested bytes. Best regards, Tom -- .signature: Too many levels of symbolic links _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
