Curl has lots of options that make it easier for my use-case to request data from another server. My script is similar to a proxy and so far it is requesting the data from another server and once the result data is complete, it's send to the client at once.
user visits http://te.st/proxy.php?get=xyz
proxy.php downloads xyz from external-server
when the download is completed 100%, it will output the data
Now I wonder whether 2 and 3 can also be done in parallel (with php5-curl), like a "proxy stream" that forwards data on the fly without waiting for the last line.
If the file size is 20MB in average, this makes a significant difference.
Is there an option for this in curl?