diff --git a/lib/curl/multi.rb b/lib/curl/multi.rb index f626440..99f4544 100644 --- a/lib/curl/multi.rb +++ b/lib/curl/multi.rb @@ -95,7 +95,7 @@ def http(urls_with_config, multi_options={}, &blk) # configure the multi handle multi_options.each { |k,v| m.send("#{k}=", v) } - callbacks = [:on_progress,:on_debug,:on_failure,:on_success,:on_redirect,:on_body,:on_header] + callbacks = [:on_progress,:on_debug,:on_failure,:on_success,:on_redirect,:on_missing,:on_body,:on_header] add_free_handle = proc do|conf, easy| c = conf.dup # avoid being destructive to input