net-http-persistent
net-http-persistent copied to clipboard
Thread-safe persistent connections with Net::HTTP
- update rdoc hosting domain. - currently, too many redirect error occured. https://github.com/drbrain/net-http-persistent/assets/15692588/accf336b-6f51-4dd1-8fc8-64c5128191b8
Perhaps I'm missing something obvious, but when I try to use this gem to optimize multiple calls to the same endpoint, but from different code blocks, it doesn't work. Version...
Reference: https://bugs.ruby-lang.org/issues/9758
if the pool has no more available connections, it raises a timeout exception (ConnectionPool::TimeoutError which is a subclass of Timeout::Error) however the `ensure` currently catches it and masks that exception...
I'm trying to use [kramdown-rfc](https://github.com/cabo/kramdown-rfc) from behind a corporate firewall that requires apps to go through the `HTTP_PROXY` host to reach web sites outside the perimeter. It looks like `net-http-persistent`...
Ref: https://github.com/mperham/connection_pool/pull/140 When forking a process, you need to close existing connection to avoid sharing them across processes. `shutdown` does that, but it also mark the pool as no longer...
Based on Net::HTTP::Persistent#request_setup
hi! Have a question on the Keep-Alive header. I see in https://github.com/drbrain/net-http-persistent/blob/master/lib/net/http/persistent.rb#L943 that the header is set to a value (30 by default), so it'll send a header like `Keep-Alive:...
`Handle Net::HTTP#verify_hostname` was added in Ruby 3.0 or later. I think that net/http/persistent should be thin wrapper, so, we should handle `Handle Net::HTTP#verify_hostname` in this gem. This option can work...
We have scrapers running on many threads and after migrating from net-http-persistent from version 2.9.4 to version 4.0.1 we are getting a lot of ConnectionPool::PoolShuttingDownError Is there any configuration on...