John Goerzen wrote:
On Tue, Sep 20, 2005 at 03:05:25PM +0100, Keean Schupke wrote:
strace seems to say yes.
Thats odd, the source code seems to suggest that when you read past the
end of the buffer
it reads the next entire buffer (it has cases for each possible buffer
configuration, line, block and none) - and I can think of no reason
_why_ it cannot use buffering... I would think that it's a bug if it is
the case.
Because the next entire buffer might consume more data than the remote
has sent. That results in deadlock.
Would it not be usual to have a timeout incase of dropped connection?
Regards,
Keean.
(Btw, did you look at the Parser Monad-Transformer?)
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe