|
Re: hGetBuf (or something related) broken for 6.2 with sockets: msg#00025lang.haskell.glasgow.bugs
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | hGetBuf (or something related) broken for 6.2 with sockets, George Russell |
|---|---|
| Next by Date: | Re: bug during documentation generation?, Sven Panne |
| Previous by Thread: | hGetBuf (or something related) broken for 6.2 with sockets, George Russell |
| Next by Thread: | Re: hGetBuf (or something related) broken for 6.2 with sockets, Tomasz Zielonka |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |