Jruby Rest Client with timeout

Hey all,

Found out that Jruby won¹t time out requests correctly, so I wrapped
Apache¹s HttpClient:

I did the BARE minimum for my own requirements. If you¹d like to improve
this, fork it and send me a pull request. I¹ll make you a committer.

Ikai

Ikai L. wrote:

Ikai
Give JRuby 1.2 a try, timeout.rb works much better (at least for me).
Nevertheless it’s probably a good idea to use socket timeouts


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On an unrelated note I complained for a good ten minutes about how much
ceremony there was in doing a simple GET using HttpClient, then I saw
the
code for Net/HTTP and remembered that it was no happy meal, either.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email