net-http-persistent icon indicating copy to clipboard operation
net-http-persistent copied to clipboard

Thread-safe persistent connections with Net::HTTP

Results 25 net-http-persistent issues
Sort by recently updated
recently updated
newest added

The docs give this snippet of code as an example of how to use the library. ```ruby require 'net/http/persistent' uri = URI 'http://example.com/awesome/web/service' http = Net::HTTP::Persistent.new # perform a GET...

### context: In my scenario I have a slow handshake against the destination server and few requests in a spaced manner. My idea is to reuse the persistent connection but...

Trying to call: ```ruby Net::HTTP::Persistent.detect_idle_timeout('http://proxy.example') ``` results in: ``` NameError: undefined local variable or method `sleep_time' for Net::HTTP::Persistent:Class ```

The website link next to Github repo description does not open: http://seattlerb.rubyforge.org/net-http-persistent

I am using this doing http checks on many urls many times per day. And i get this error many times per day, is it a bug or a problem...

This was reported a while back, but it was closed so making a new one: https://github.com/drbrain/net-http-persistent/issues/19 We get this error a LOT and from searching around the web, it seems...

Support

Hi! Wanted to thank you for the hard work on this, and see if you had any thoughts on an issue I'm currently running into. I'm running ruby 1.9.3 (which...

When I establish a connection to a site that uses SNI (and the key returned by the request is not usable) and then try to re-use that connection after 300...

Bug

its just a stub since we can not implement session reuse using the underlying Java security APIs. users seems to be getting [annoyed](https://github.com/jruby/jruby-openssl/issues/87) by our `session=` [printing a warning](https://github.com/drbrain/net-http-persistent/blob/5bae22e8a3626ab3b14743c00796d4f176580ad8/lib/net/http/persistent/ssl_reuse.rb#L67). would...