<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -124,6 +124,13 @@ static void rb_curl_multi_run(VALUE self, CURLM *multi_handle, int *still_runnin
   multi_read_info( self, multi_handle );
 }
 
+static VALUE fire_and_forget(VALUE self) {
+  CurlMulti *curl_multi;
+  Data_Get_Struct(self, CurlMulti, curl_multi);
+  rb_curl_multi_run( self, curl_multi-&gt;multi, &amp;(curl_multi-&gt;running) );
+//	curl_multi_perform(curl_multi-&gt;multi, 0);
+}
+
 static VALUE multi_perform(VALUE self) {
   CURLMcode mcode;
   CurlMulti *curl_multi;
@@ -215,4 +222,5 @@ void init_typhoeus_multi() {
   rb_define_private_method(klass, &quot;multi_perform&quot;, multi_perform, 0);
   rb_define_private_method(klass, &quot;multi_cleanup&quot;, multi_cleanup, 0);
   rb_define_private_method(klass, &quot;active_handle_count&quot;, active_handle_count, 0);
+	rb_define_method(klass, &quot;fire_and_forget&quot;, fire_and_forget, 0);
 }</diff>
      <filename>ext/typhoeus/typhoeus_multi.c</filename>
    </modified>
    <modified>
      <diff>@@ -20,6 +20,10 @@ module Typhoeus
     def clear_stubs
       @stubs = []
     end
+    
+    def fire_and_forget
+      @multi.fire_and_forget
+    end
 
     def queue(request)
       return if assign_to_stub(request)</diff>
      <filename>lib/typhoeus/hydra.rb</filename>
    </modified>
    <modified>
      <diff>@@ -209,4 +209,16 @@ describe Typhoeus::Hydra do
     @responses.size.should == 3
     (Time.now - start_time).should &lt; 3.3
   end
+  
+  it &quot;should fire and forget&quot; do
+    hydra  = Typhoeus::Hydra.new
+    first  = Typhoeus::Request.new(&quot;http://localhost:3000/first?delay=5&quot;)
+    second = Typhoeus::Request.new(&quot;http://localhost:3001/second?delay=10&quot;)
+    hydra.queue first
+    hydra.queue second
+    hydra.fire_and_forget
+    third = Typhoeus::Request.new(&quot;http://localhost:3002/third?delay=15&quot;)
+    hydra.queue third
+    hydra.fire_and_forget
+  end
 end</diff>
      <filename>spec/typhoeus/hydra_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d27380bbded11777c5884d23549d4fffc613fab1</id>
    </parent>
  </parents>
  <author>
    <name>Paul Dix</name>
    <email>paul@pauldix.net</email>
  </author>
  <url>http://github.com/pauldix/typhoeus/commit/b900567d8258024f7be4a92e57978660c8199c96</url>
  <id>b900567d8258024f7be4a92e57978660c8199c96</id>
  <committed-date>2009-10-16T14:26:51-07:00</committed-date>
  <authored-date>2009-10-16T14:26:51-07:00</authored-date>
  <message>added ability to fire requests on multi without reading the return values</message>
  <tree>7e38e8541e2f58502f7e8b3098a8ba13747d1f1c</tree>
  <committer>
    <name>Paul Dix</name>
    <email>paul@pauldix.net</email>
  </committer>
</commit>
