curl-and-php
Re: Connections ??
Date: Tue, 19 Feb 2008 08:09:39 -0800 (PST)
Thanks Daniel for your reply.
My question was more about connections. Does curl treat getting each URL as a connection? And is opening multiple (the way i described in my first email) connections the most efficient way to run curl?
Where can I read more about multi interface?
David
Sent from my iPhone
On Feb 16, 2008, at 4:17 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
On Sat, 16 Feb 2008, David Colter wrote:
I have a single curl_init($ch1) and use 6 curl_exec($ch1) and one
curl_close($ch1).
Is this the most efficient way to use curl when my server won't do
redirections?
That's how you can get 6 URLs with curl (without using the multi interface).
I don't see how that's related to your "server won't do redirections" or what
difference that would make (whatever it means).
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2008-02-19