cURL / Mailing Lists / curl-library / Single Mail


Re: write callback issues (was Re: A new problem)

From: Prasad J Pandit <>
Date: Tue, 8 Apr 2008 12:56:05 +0530 (IST)

On Tue, 8 Apr 2008, Linus Nielsen Feltzing wrote:
> Curl will read the data as it arrives, and you are never guaranteed that the
> entire response will be read in one go.

   Well, that's when response size is > 1500 bytes, I agree. Here I'm
talking about less than 200 bytes.

> The callback must be able to handle fragmented responses.

   Response is not fragmented by me/program.

> Yes, multithreading may be an issue if your global Curldata pointer is
> shared with other threads.

   No, my program is not multi-threaded, so that's quite unlikely.


   - Prasad
Received on 2008-04-08