<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1554,7 +1554,7 @@ static VALUE handle_perform(VALUE self, ruby_curl_easy *rbce) {
     rb_funcall( rbce-&gt;success_proc, idCall, 1, self );
   }
   else if (rbce-&gt;failure_proc != Qnil &amp;&amp; 
-           (response_code &gt;= 300 &amp;&amp; response_code &lt; 600)) {
+           (response_code &gt;= 300 &amp;&amp; response_code &lt;= 999)) {
     rb_funcall( rbce-&gt;failure_proc, idCall, 1, self );
   }
 </diff>
      <filename>ext/curb_easy.c</filename>
    </modified>
    <modified>
      <diff>@@ -220,7 +220,7 @@ static void rb_curl_multi_read_info(VALUE self, CURLM *multi_handle) {
         rb_funcall( rbce-&gt;success_proc, idCall, 1, rbce-&gt;self );
       }
       else if (rbce-&gt;failure_proc != Qnil &amp;&amp;
-              (response_code &gt;= 300 &amp;&amp; response_code &lt; 600)) {
+              (response_code &gt;= 300 &amp;&amp; response_code &lt;= 999)) {
         rb_funcall( rbce-&gt;failure_proc, idCall, 1, rbce-&gt;self );
       }
     }</diff>
      <filename>ext/curb_multi.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>69906d356522d9fc403f80c7eb5d8ef917d2fd83</id>
    </parent>
  </parents>
  <author>
    <name>Ilya Grigorik</name>
    <email>ilya@igvita.com</email>
  </author>
  <url>http://github.com/taf2/curb/commit/5269163caeab28160d6eee30db8f38bf4856bede</url>
  <id>5269163caeab28160d6eee30db8f38bf4856bede</id>
  <committed-date>2009-03-16T20:10:38-07:00</committed-date>
  <authored-date>2009-03-15T12:02:53-07:00</authored-date>
  <message>Yahoo! likes to return 999 response codes to indicate errors, which means the fail callback does not fire. Fixing that!

Signed-off-by: Todd Fisher &lt;todd.fisher@gmail.com&gt;</message>
  <tree>05bc2ca70868bef1beb66936ed26786bbab3123b</tree>
  <committer>
    <name>Todd Fisher</name>
    <email>todd.fisher@gmail.com</email>
  </committer>
</commit>
