我正在使用Typhoeus来处理我的站点上所有的外部API的HTTP调用,直到最近,它一直工作得很好。我的Rails站点在一段时间后开始没有响应。requests = [] urls.each_with_index do |url, index| end
hydra.queue(request)我发现唯一与我在
我正在尝试使用Typhoeus来发出需要客户端证书的HTTP请求。根本没有提到使用客户端证书。我能找到的关于用Typhoeus指定客户端证书的唯一讨论是。基于上述讨论,这是我提出的非功能代码(实际URL和文件名已经更改):require 'typhoeus'
ca = OpenSSL::X509::C
所以我写的是:Building native extensions. This could take a while...ERROR: Error installing typhoeus:
ERROR: Failed to build gem native extension.Results logged to C:/Ruby187/lib/ruby/gems/1.8/gems/typhoeus