Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
was this the original intent?
  • Loading branch information
KellyMahan committed Apr 30, 2015
1 parent a592649 commit 7100786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/excon/socket.rb
Expand Up @@ -241,7 +241,7 @@ def write_nonblock(data)
# I wish that this API accepted a start position, then we wouldn't
# have to slice data when there is a short write.
written = @socket.write_nonblock(data)
rescue Errno::EFAULT
rescue Errno::EFAULT => error
if OpenSSL.const_defined?(:OPENSSL_LIBRARY_VERSION) && OpenSSL::OPENSSL_LIBRARY_VERSION.split(' ')[1] == '1.0.2'
msg = "The version of OpenSSL this ruby is built against (1.0.2) has a vulnerability
which causes a fault. For more, see https://github.com/excon/excon/issues/467"
Expand Down

2 comments on commit 7100786

@camelpunch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@geemus would love a release that contains this! We're hitting it consistently in Bookbinder.

@geemus
Copy link
Contributor

@geemus geemus commented on 7100786 Jul 13, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be available in 0.45.4

Please sign in to comment.