Skip to content

Commit

Permalink
Fix features for TLS on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanTron committed Feb 7, 2024
1 parent 3858830 commit be1452c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions features/support/test_client.rb
Expand Up @@ -2,6 +2,14 @@

require 'net/ftp'

if defined? Net::FTP::BufferedSSLSocket
class Net::FTP::BufferedSSLSocket
def shutdown(*args)
@io.__send__(:stop)
end
end
end

class TestClient

CannotTestTls = Class.new(StandardError)
Expand Down

0 comments on commit be1452c

Please sign in to comment.