Setting up a new instance of OpenSSL::X509::Store, and setting "set_default_paths" will not actually import any certificates into Store. Environment: Ubuntu 14.04 `File.dirname OpenSSL::Config::DEFAULT_CONFIG_FILE => "/usr/lib/ssl...bararchy (Bar Hofesh)
Bar Hofesh wrote: > Hi, > ... Ok, using the "echo here and there" debug method I got to the part where it is getting stuck: ~~~sh echo "Testing 1" if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can...bararchy (Bar Hofesh)
Hi, I'm trying to build Ruby from sources. What I tried: 1) Build from git using git clone, autoconf, ./configure 2) Build with RVM versions 2.2.1, 2.2-head, 2.1.5, ruby-head All have failed when reaching the "./configure" ...bararchy (Bar Hofesh)
Small and elegant fix, after a few hours of testings (stress and SSL errors), it seems that your patch is working and isn't breaking anything I can see. Thanksbararchy (Bar Hofesh)
Looking at the code it's clear the offending line is https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/buffering.rb#L216 Where sometimes size would be nil, and because of "size = [size, limit].min" or more specifically "si...bararchy (Bar Hofesh)
Eric Wong wrote: > Since you're using SSLSocket, I recommend dumping a backtrace when you > ... Error Reading Aware: comparison of Fixnum with nil failed Error Reading Aware: ["/usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/b...bararchy (Bar Hofesh)
This is my code, "socket" is a SSLSocket this is why it allows a Regexp in gets `begin http_response[:http_headers] = WEBrick::Utils.timeout(3){ socket.gets(/\x0d?\x0a\x0d?\x0a/, 4096) #\r?\n\r?\n } rescue Errno::E...bararchy (Bar Hofesh)