[Haskell-cafe] hSetBuffering woes
Eric
eeoam at ukfsn.org
Sat Jun 16 16:01:01 EDT 2007
Bryan O'Sullivan wrote:
> Eric wrote:
>
>> I've converted to lazy bytestrings. After reading in the bytes from a
>> network connection I want to save them to a file but now the
>> appendFile function blocks:
>
> Well, yes. It's presumably waiting for data from the network
> connection, because it wants to write out the entire ByteString, and
> whoever you're receiving data from hasn't closed the connection.
>
> If you stepped back and stated the more general problem you are trying
> to solve, we could help you more effectively.
>
> <b
>
>
>
I'm writing a simple HTTP server and am trying to implement the POST
method.
E.
More information about the Haskell-Cafe
mailing list