<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Asynchronous/parallel HTTP requests using PHP multi_curl</title>
	<atom:link href="http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/</link>
	<description>A blog about killer code</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:11:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dermot</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-1301</link>
		<dc:creator>Dermot</dc:creator>
		<pubDate>Wed, 14 Jul 2010 09:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-1301</guid>
		<description>Thanks Jaisen, cool, now i got the contents.
I&#039;m really trying to understand your code but I&#039;m struggling. See I have a basic curlmulti running and in my situ I send in 10 requests and get back 10 responses.

I hate this part, but with your code I do not get the 3rd or 7th response like my other code.
Have you any ideas?
I must mention though that your code is prob 10 times faster aswell.
Thanks Dermot.</description>
		<content:encoded><![CDATA[<p>Thanks Jaisen, cool, now i got the contents.<br />
I&#8217;m really trying to understand your code but I&#8217;m struggling. See I have a basic curlmulti running and in my situ I send in 10 requests and get back 10 responses.</p>
<p>I hate this part, but with your code I do not get the 3rd or 7th response like my other code.<br />
Have you any ideas?<br />
I must mention though that your code is prob 10 times faster aswell.<br />
Thanks Dermot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaisen</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-1299</link>
		<dc:creator>jaisen</dc:creator>
		<pubDate>Tue, 13 Jul 2010 15:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-1299</guid>
		<description>@Dermot, You can access &lt;em&gt;data&lt;/em&gt;.

&lt;pre name=&quot;code&quot; class=&quot;php&quot;&gt;# echo &quot;Response code from Yahoo! is {$curl1-&gt;data}\n&quot;;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Dermot, You can access <em>data</em>.</p>
<pre name="code" class="php"># echo "Response code from Yahoo! is {$curl1->data}\n";</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dermot</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-1298</link>
		<dc:creator>Dermot</dc:creator>
		<pubDate>Tue, 13 Jul 2010 15:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-1298</guid>
		<description>Hi Jaisen,
I think your code is great.
Your use:
&lt;pre name=&quot;code&quot; class=&quot;php&quot;&gt;$ch3 = curl_init(&#039;http://www.slow.com&#039;);  
curl_setopt($ch3, CURLOPT_RETURNTRANSFER, 1);  
$curl3 = $mc-&gt;addCurl($ch3);  
  
echo &quot;Response code from Yahoo! is {$curl1-&gt;code}\n&quot;; &lt;/pre&gt;

Can you tell me how to get the contents out of your code, like the way you got the responses.
Thanks Dermot</description>
		<content:encoded><![CDATA[<p>Hi Jaisen,<br />
I think your code is great.<br />
Your use:</p>
<pre name="code" class="php">$ch3 = curl_init('http://www.slow.com');
curl_setopt($ch3, CURLOPT_RETURNTRANSFER, 1);
$curl3 = $mc-&gt;addCurl($ch3);  

echo "Response code from Yahoo! is {$curl1-&gt;code}\n"; </pre>
<p>Can you tell me how to get the contents out of your code, like the way you got the responses.<br />
Thanks Dermot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaisen</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-1287</link>
		<dc:creator>jaisen</dc:creator>
		<pubDate>Sat, 19 Jun 2010 18:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-1287</guid>
		<description>@Nathan,

Curl will make multiple calls to the same url.  It won&#039;t reuse a connection on its own.  Let me know if you see it exhibiting that behavior.</description>
		<content:encoded><![CDATA[<p>@Nathan,</p>
<p>Curl will make multiple calls to the same url.  It won&#8217;t reuse a connection on its own.  Let me know if you see it exhibiting that behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-1286</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Sat, 19 Jun 2010 15:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-1286</guid>
		<description>Hi... Raul wrote a question in 2008 which you responded to. The original question reads:

&gt; Hi,
&gt; I have read your samples, 
&gt; and i have a question,
&gt; supose i need to make
&gt; asynchronous calls to a url
&gt; no matter what the response
&gt; is, i just need to process the
&gt; url several times, what
&gt; would you recomend?.

The response was to use it in the same manner as if there were different URLs. My follow-up question is...

Will cURL use the same HTTP connection for each request? Or will it open multiple connections?

How can we make multiple simultaneous calls to the same URL that uses the same HTTP connection?</description>
		<content:encoded><![CDATA[<p>Hi&#8230; Raul wrote a question in 2008 which you responded to. The original question reads:</p>
<p>&gt; Hi,<br />
&gt; I have read your samples,<br />
&gt; and i have a question,<br />
&gt; supose i need to make<br />
&gt; asynchronous calls to a url<br />
&gt; no matter what the response<br />
&gt; is, i just need to process the<br />
&gt; url several times, what<br />
&gt; would you recomend?.</p>
<p>The response was to use it in the same manner as if there were different URLs. My follow-up question is&#8230;</p>
<p>Will cURL use the same HTTP connection for each request? Or will it open multiple connections?</p>
<p>How can we make multiple simultaneous calls to the same URL that uses the same HTTP connection?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to quickly integrate with Twitter&#8217;s OAuth API using PHP :: Jaisen Mathai</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-1225</link>
		<dc:creator>How to quickly integrate with Twitter&#8217;s OAuth API using PHP :: Jaisen Mathai</dc:creator>
		<pubDate>Tue, 23 Feb 2010 09:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-1225</guid>
		<description>[...] Reuse the asynchronous/non-blocking curl library [...]</description>
		<content:encoded><![CDATA[<p>[...] Reuse the asynchronous/non-blocking curl library [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-998</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Sun, 04 Oct 2009 21:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-998</guid>
		<description>Nice example, thank you. This code looks as though it may have potential for what I am trying to accomplish which is perform an http request for xml files created via a database on another server.  What would be the advantage of using multi_curl versus the http_request class/function in PHP?</description>
		<content:encoded><![CDATA[<p>Nice example, thank you. This code looks as though it may have potential for what I am trying to accomplish which is perform an http request for xml files created via a database on another server.  What would be the advantage of using multi_curl versus the http_request class/function in PHP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riyaz</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-773</link>
		<dc:creator>Riyaz</dc:creator>
		<pubDate>Thu, 13 Aug 2009 07:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-773</guid>
		<description>Never mind... it turns out my code was using getimagesize() to resize image, and that was fetching each image from remote location. So, the 1 second &quot;time&quot; value was correct.</description>
		<content:encoded><![CDATA[<p>Never mind&#8230; it turns out my code was using getimagesize() to resize image, and that was fetching each image from remote location. So, the 1 second &#8220;time&#8221; value was correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riyaz</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-772</link>
		<dc:creator>Riyaz</dc:creator>
		<pubDate>Thu, 13 Aug 2009 07:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-772</guid>
		<description>Hey Jaisen,
              First off, thanks a lot for the this class, it makes it very easy to use this open secret called curl. I had one question though - what time does the EpiCurl&#039;s &quot;time&quot; property return? My page is taking 10+ secs to load, but the &quot;time&quot; value being returned is 1 second. And to top it, the &quot;length&quot; value is 0!

Would appreciate any insight you have on how to measure curl calls...
Thanks.</description>
		<content:encoded><![CDATA[<p>Hey Jaisen,<br />
              First off, thanks a lot for the this class, it makes it very easy to use this open secret called curl. I had one question though &#8211; what time does the EpiCurl&#8217;s &#8220;time&#8221; property return? My page is taking 10+ secs to load, but the &#8220;time&#8221; value being returned is 1 second. And to top it, the &#8220;length&#8221; value is 0!</p>
<p>Would appreciate any insight you have on how to measure curl calls&#8230;<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to quickly integrate with Twitter’s OAuth API using PHP &#171; Dogfeeds——IT Telescope</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/29/asynchronous-parallel-http-requests-using-php-multi_curl/comment-page-1/#comment-576</link>
		<dc:creator>How to quickly integrate with Twitter’s OAuth API using PHP &#171; Dogfeeds——IT Telescope</dc:creator>
		<pubDate>Sun, 14 Jun 2009 11:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=28#comment-576</guid>
		<description>[...] Reuse the asynchronous/non-blocking curl library [...]</description>
		<content:encoded><![CDATA[<p>[...] Reuse the asynchronous/non-blocking curl library [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
