Ethon::Errors::InvalidOption: The option: pipelining is invalid.

92 views
Skip to first unread message

Denis Lamotte

unread,
Nov 14, 2013, 6:01:53 AM11/14/13
to typh...@googlegroups.com
hi all, i upgraded to the latest version of typhoeus/ethon  from version 0.5.4 and i can't use the pipelining option any more, 
i try boolean true/false, 0/1 even other numeric, look at the set_option and i can't figure out where the problem lies.

typhoeus (0.6.6)/ ethon (0.6.1) / ffi (1.9.3) / mime-types (1.19)

with curl --version
curl 7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8y zlib/1.2.3

the hydra
@hydra = ::Typhoeus::Hydra.new(:max_concurrency => max_concurrency,:pipelining => true )


Ethon::Errors::InvalidOption: The option: pipelining is invalid.
spawn> in `set_option'
spawn> /Users/denislamotte/.rvm/gems/ruby-1.8.7-p371@mitambo2/gems/ethon-0.6.1/lib/ethon/curls/options.rb:12:in `set_option'


Best regards
Denis Lamotte

Hans Hasselberg

unread,
Nov 14, 2013, 7:05:46 AM11/14/13
to typh...@googlegroups.com
Thanks for reporting, it was a bug! I've fixed it on master: https://github.com/typhoeus/ethon/commit/6d6feed05bc2055bad1ddd1412f64faff0dfc121.

Cheers,
Hans


--
You received this message because you are subscribed to the Google Groups "Typhoeus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to typhoeus+u...@googlegroups.com.
To post to this group, send email to typh...@googlegroups.com.
Visit this group at http://groups.google.com/group/typhoeus.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages