<?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: Using curb with open-uri</title>
	<atom:link href="http://blog.gugl.org/archives/89/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.gugl.org/archives/89</link>
	<description>ruby, perl and other stuff</description>
	<lastBuildDate>Sun, 11 Dec 2011 10:26:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Roman</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-823</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Sun, 06 Mar 2011 10:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-823</guid>
		<description>This is something with curb, try to ask the author. Perhaps it runs out of stack...</description>
		<content:encoded><![CDATA[<p>This is something with curb, try to ask the author. Perhaps it runs out of stack&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harris</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-807</link>
		<dc:creator>Harris</dc:creator>
		<pubDate>Mon, 28 Feb 2011 00:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-807</guid>
		<description>Thanks Roman, that worked but now I have a new issue.
After running for a while, I get &quot;Abort Trap&quot;:

curl agent.rb:33: [BUG] Segmentation fault

Have you experienced this or know what it is?</description>
		<content:encoded><![CDATA[<p>Thanks Roman, that worked but now I have a new issue.<br />
After running for a while, I get &#8220;Abort Trap&#8221;:</p>
<p>curl agent.rb:33: [BUG] Segmentation fault</p>
<p>Have you experienced this or know what it is?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-806</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Sun, 27 Feb 2011 20:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-806</guid>
		<description>Just pass curb&#039;s :max_redirects =&gt; X, e.g.
open(&#039;http://www.example.com/&#039;, :max_redirects =&gt; 10)</description>
		<content:encoded><![CDATA[<p>Just pass curb&#8217;s :max_redirects => X, e.g.<br />
open(&#8216;<a href="http://www.example.com/&#039;" rel="nofollow">http://www.example.com/&#039;</a>, :max_redirects => 10)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harris</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-805</link>
		<dc:creator>Harris</dc:creator>
		<pubDate>Sun, 27 Feb 2011 18:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-805</guid>
		<description>Thanks for the great gem.
How can I get around this error:

FINAL StandardError: Curl::Err::TooManyRedirectsError + Number of redirects hit maximum amount

Can I increase the amount of allowed redirects?

Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks for the great gem.<br />
How can I get around this error:</p>
<p>FINAL StandardError: Curl::Err::TooManyRedirectsError + Number of redirects hit maximum amount</p>
<p>Can I increase the amount of allowed redirects?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-532</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Thu, 11 Nov 2010 09:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-532</guid>
		<description>open(&#039;http://www.example.com/&#039;, :timeout =&gt; 10)</description>
		<content:encoded><![CDATA[<p>open(&#8216;<a href="http://www.example.com/&#039;" rel="nofollow">http://www.example.com/&#039;</a>, :timeout => 10)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Huska</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-531</link>
		<dc:creator>Stefan Huska</dc:creator>
		<pubDate>Thu, 11 Nov 2010 09:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-531</guid>
		<description>Wow! It&#039;s working! Only little problem yet, big files (1GB) causes timeout.

Curl::Err::TimeoutError in UploadsController#create
Timeout was reached

I must find some config option to increase timeout :/ But with normal files it&#039;s working perfect! Soo many faster than original open-uri. Thanks!</description>
		<content:encoded><![CDATA[<p>Wow! It&#8217;s working! Only little problem yet, big files (1GB) causes timeout.</p>
<p>Curl::Err::TimeoutError in UploadsController#create<br />
Timeout was reached</p>
<p>I must find some config option to increase timeout :/ But with normal files it&#8217;s working perfect! Soo many faster than original open-uri. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-530</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Wed, 10 Nov 2010 12:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-530</guid>
		<description>I pushed a commit which should fix this issue: https://github.com/romanbsd/curb-openuri/commit/f0dfd7ef35c3ae013ad332fd6cf8e19e380d0193</description>
		<content:encoded><![CDATA[<p>I pushed a commit which should fix this issue: <a href="https://github.com/romanbsd/curb-openuri/commit/f0dfd7ef35c3ae013ad332fd6cf8e19e380d0193" rel="nofollow">https://github.com/romanbsd/curb-openuri/commit/f0dfd7ef35c3ae013ad332fd6cf8e19e380d0193</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-529</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Wed, 10 Nov 2010 10:49:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-529</guid>
		<description>I don&#039;t think that the io is nil. It&#039;s StringIO that&#039;s returned. But the original open-uri includes some mixin, which adds things like base_uri method.
I can fix this, but I really want the testcase to test with.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think that the io is nil. It&#8217;s StringIO that&#8217;s returned. But the original open-uri includes some mixin, which adds things like base_uri method.<br />
I can fix this, but I really want the testcase to test with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Huska</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-528</link>
		<dc:creator>Stefan Huska</dc:creator>
		<pubDate>Wed, 10 Nov 2010 10:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-528</guid>
		<description>I will try to explain the following:

In model Upload is code which download remote file.

io = open(URI.parse(source_url).to_s)
self.source = io

(has_attached_file :source)

Problem is &quot;io&quot; seems to be nil. Only with curb_openuri. Original open-uri returns file content.

Looking in curl_agent.rb rows 80.-84. Is there any difference how original &quot;open&quot; method returns &quot;io&quot;?</description>
		<content:encoded><![CDATA[<p>I will try to explain the following:</p>
<p>In model Upload is code which download remote file.</p>
<p>io = open(URI.parse(source_url).to_s)<br />
self.source = io</p>
<p>(has_attached_file :source)</p>
<p>Problem is &#8220;io&#8221; seems to be nil. Only with curb_openuri. Original open-uri returns file content.</p>
<p>Looking in curl_agent.rb rows 80.-84. Is there any difference how original &#8220;open&#8221; method returns &#8220;io&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://blog.gugl.org/archives/89/comment-page-1#comment-527</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Wed, 10 Nov 2010 10:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gugl.org/?p=89#comment-527</guid>
		<description>If you can provide me with a minimal setup, I can try to fix this.</description>
		<content:encoded><![CDATA[<p>If you can provide me with a minimal setup, I can try to fix this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

