curl-library
chunked example
From: Roztkowski, Piotr <proztkowski_at_adlex.com>
Date: Mon, 27 Dec 2004 15:46:34 +0100
Date: Mon, 27 Dec 2004 15:46:34 +0100
I'd like to use chunked transfer in my application to transfer data
generated dynamically.
In most cases algorithm looks following for writing:
do
{
generate data chunk
transfer chunk
} while not end of data
for reading:
do
{
read chunk
process chunk
} while not end of data
Is it possible with curl? In curl I have to wait in easy_perform function
until end of transfer? How can I get chunk for GET and POST operation? Any
example?
piotr
Received on 2004-12-29